Jason‘s Blog


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Sitemap

  • Search

GC学习

Posted on 2025-09-01
Words count in article: 1.1k | Reading time ≈ 4
GC学习基础知识详见:垃圾回收 但是对G1的了解还不是特别深刻。这边记录一下面试过程中遇到的一些问题: 1问:我们给堆分成了不同的区块,那么不同区块之间,是怎么区分这些区块的? 堆在启动时被切成等大小的 Region(1–32 MB,2 的幂;-XX:G1HeapRegionSize)。为了快速定位 ...
Read more »

reentrantlock学习

Posted on 2025-08-30
Words count in article: 2.9k | Reading time ≈ 10
reentrantlock学习这边主要是记录一些面试中比较深入的问题 首先我们需要对reentrantlock的底层结构有一定的了解 123456789硬件/OS 阻塞原语 ↑JVM/Unsafe → LockSupport.park/unpark & ...
Read more »

面经整理

Posted on 2025-08-21
Words count in article: 3.6k | Reading time ≈ 13
面经整理钉钉-一面项目拷打,遇到了哪些难点,是否遇到过上线后的bug(实习见文档)Http 和 Tcp 的关系是什么TCP 连接说一下三次握手、长连接(http2,数据库)、短连接(开销大,早期http) Java中的强引用、弱引用、软引用之间的区别Java 的 引用决定了 GC(垃圾回收器)是否会 ...
Read more »

Java位运算

Posted on 2025-08-16
Words count in article: 412 | Reading time ≈ 1
Java 位运算🚀 基础位操作符Java 里针对整型(int / long)常用的有: 操作 符号 示例 说明 按位与 & 6 & 3 = 2 (110 & 011 = 010) 都为 1 时结果才为 1 按位或 ` ` `6 按位异或 ^ 6 ^ ...
Read more »

Java_Date_Time_梳理文档

Posted on 2025-08-07
Words count in article: 5.9k | Reading time ≈ 25
Java 时间转换与时区处理指南TLDR流转状态其他人app的client variable -> Http query -> openapi property -> controller param -> model property -> db column -&g ...
Read more »

kotlin-suspend

Posted on 2025-04-29
Words count in article: 3.8k | Reading time ≈ 15
kotlin-suspend一、为什么我们需要异步编程?传统编程里,调用函数大多是同步的: 比如你调用一个方法获取数据,假如它要花100毫秒,你的程序就“傻等”100毫秒。 如果同时来了1000个这样的请求,你的服务器可能会需要1000个线程去傻等,浪费大量资源。 因此诞生了异步编程: 程序在 ...
Read more »

quarkus+wiremock

Posted on 2025-04-24
Words count in article: 3k | Reading time ≈ 12
quarkus-wiremock最近项目中接触到wiremock的测试,之前一直是写Mockito,也就是最传统的对 本地代码(类、接口、方法)进行行为模拟。比如我现在有一个TaobaoService接口,我可以对其方法进行模拟,当请求特定或任意资源的时候,返回我们想要返回的东西。123456789 ...
Read more »

JavaToKotlin重构方案

Posted on 2025-04-10
Words count in article: 7 | Reading time ≈ 1
11-从方法到属性
Read more »

项目开发心得

Posted on 2025-04-09
Words count in article: 2.8k | Reading time ≈ 11
项目开发心得Git 查看该文档 每天早上上班的时候,需要跟master保持一致。否则很可能会conflict, SOP 如下 git checkout master git pull git checkout xxx git merge master git push -u origin xxx ...
Read more »

回溯剪枝整理

Posted on 2025-03-07
Words count in article: 2.2k | Reading time ≈ 8
回溯剪枝整理参考文献:https://labuladong.online/algo/practice-in-action/partition-to-k-equal-sum-subsets/#%E4%BB%A5%E6%A1%B6%E7%9A%84%E8%A7%86%E8%A7%92 这几天做了不少回溯 ...
Read more »
12…45<i class="fa fa-angle-right"></i>

Jason

442 posts
11 categories
64 tags
GitHub E-Mail
Links
  • 友链:杨弘的博客
  • 友链:赵奕轲的博客
  • Like it, STAR ME
0%
© 2025 Jason