差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
java:basic [2019/07/20 11:53]
tony [Resource]
java:basic [2023/06/25 09:48] (目前版本)
行 56: 行 56:
   * [[https://​codepumpkin.com/​use-private-constructor-java/​|What is the use of private constructor in Java?]]   * [[https://​codepumpkin.com/​use-private-constructor-java/​|What is the use of private constructor in Java?]]
   * [[https://​www.baeldung.com/​java-check-string-number|How to check string number?]]   * [[https://​www.baeldung.com/​java-check-string-number|How to check string number?]]
-  * [[https://jianyuan.me/2018/08/02/jcmd-intro/|JVM问题定位的瑞士军刀——JCMD]] +  * [[https://www.geeksforgeeks.org/stream-peek-java-examples/|Stream peek() in Java with examples]] 
-  * [[https://​www.jianshu.com/p/​45415ebe0721|生成 ​Heap Dump 的几种方式]]+  * [[https://dzone.com/​articles/​extracting-a-private-key-from-java-keystore-jks|Extracting a Private Key From the Java Keystore (JKS)]] 
 +  * [[https://​shipilev.net/​blog/​2016/​arrays-wisdom-ancients/|Collection.toArray(new T[0]) or Collection.toArray(new T[size]), that's the question]] 
 +===== Debug ===== 
 +  * [[https://​www.baeldung.com/java-heap-dump-capture|Different Ways to Capture Java Heap Dumps]] 
 +  * [[https://​blog.csdn.net/​renfufei/​article/​details/​76350794|OutOfMemoryError系列(1):​ Java heap space]]
 ==== Network ==== ==== Network ====
   * [[http://​chenchendefeng.iteye.com/​blog/​461248|关于设置http响应头connection的作用]]   * [[http://​chenchendefeng.iteye.com/​blog/​461248|关于设置http响应头connection的作用]]
行 68: 行 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]]
 +  * [[https://​www.cnblogs.com/​hapjin/​p/​11005676.html|ElasticSearch 线程池类型分析之 ExecutorScalingQueue]]
 ==== 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]]
行 76: 行 82:
   * [[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]]