差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 下次修改 Both sides next revision | ||
java:basic [2021/10/07 17:44] tony [Debug] |
java:basic [2022/02/19 22:13] tony [Concurrency] |
||
---|---|---|---|
行 61: | 行 61: | ||
===== Debug ===== | ===== Debug ===== | ||
* [[https://www.baeldung.com/java-heap-dump-capture|Different Ways to Capture Java Heap Dumps]] | * [[https://www.baeldung.com/java-heap-dump-capture|Different Ways to Capture Java Heap Dumps]] | ||
- | * [[https://www.jianshu.com/p/45415ebe0721|生成 Heap Dump 的几种方式]] | ||
* [[https://blog.csdn.net/renfufei/article/details/76350794|OutOfMemoryError系列(1): Java heap space]] | * [[https://blog.csdn.net/renfufei/article/details/76350794|OutOfMemoryError系列(1): Java heap space]] | ||
==== Network ==== | ==== Network ==== | ||
行 73: | 行 72: | ||
* [[https://docs.oracle.com/javase/8/docs/technotes/guides/concurrency/threadPrimitiveDeprecation.html|Java Thread Primitive Deprecation]] | * [[https://docs.oracle.com/javase/8/docs/technotes/guides/concurrency/threadPrimitiveDeprecation.html|Java Thread Primitive Deprecation]] | ||
* [[https://zeroturnaround.com/rebellabs/fixedthreadpool-cachedthreadpool-or-forkjoinpool-picking-correct-java-executors-for-background-tasks/|FixedThreadPool, CachedThreadPool, or ForkJoinPool? Picking correct Java executors for background tasks]] | * [[https://zeroturnaround.com/rebellabs/fixedthreadpool-cachedthreadpool-or-forkjoinpool-picking-correct-java-executors-for-background-tasks/|FixedThreadPool, CachedThreadPool, or ForkJoinPool? Picking correct Java executors for background tasks]] | ||
+ | * [[https://www.java67.com/2015/06/how-to-pause-thread-in-java-using-sleep.html|How to pause a Thread in Java? Thread.sleep and TimeUnit.sleep Example]] | ||
==== IO ==== | ==== IO ==== | ||
* [[https://bugs.openjdk.java.net/browse/JDK-8204300|Files.move throws DirectoryNotEmptyException when moving directory across file system]] | * [[https://bugs.openjdk.java.net/browse/JDK-8204300|Files.move throws DirectoryNotEmptyException when moving directory across file system]] | ||
行 81: | 行 81: | ||
* [[http://bluepopopo.iteye.com/blog/486548|什么是writeObject 和readObject?可定制的序列化过程]] | * [[http://bluepopopo.iteye.com/blog/486548|什么是writeObject 和readObject?可定制的序列化过程]] | ||
* [[https://stackoverflow.com/questions/24547673/why-java-util-optional-is-not-serializable-how-to-serialize-the-object-with-suc|為什麼Optional不implement Serializable?]] | * [[https://stackoverflow.com/questions/24547673/why-java-util-optional-is-not-serializable-how-to-serialize-the-object-with-suc|為什麼Optional不implement Serializable?]] | ||
+ | * [[https://www.codenong.com/8642012/|关于java:比较器为什么要实现Serializable?]] | ||
==== Reflection ==== | ==== Reflection ==== | ||
* [[https://stackoverflow.com/questions/3301635/change-private-static-final-field-using-java-reflection|Change final field with reflection]] | * [[https://stackoverflow.com/questions/3301635/change-private-static-final-field-using-java-reflection|Change final field with reflection]] |