277294.ijbsn.asiatime.txt2025-01-16T12:10:04Z2025-01-16T12:10:04Z<br/>How difference platform implement nanoTime() - <a href="http://www.javacodegeeks.com/2012/02/what-is-behind-systemnanotime.html">http://www.javacodegeeks.com[..]12/02/what-is-behind-systemnanotime.html</a> <a href="http://stackoverflow.com/questions/510462/is-system-nanotime-completely-useless">http://stackoverflow.com[..]62/is-system-nanotime-completely-useless</a> <br/><br/>Java timezone ID reference - <a href="http://david.uebelacker.ch/2010/05/13/java-retrive-locale-and-timezone-from-request/">http://david.uebelacker.ch[..]etrive-locale-and-timezone-from-request/</a> <a href="http://tutorials.jenkov.com/java-date-time/java-util-timezone.html">http://tutorials.jenkov.com[..]m/java-date-time/java-util-timezone.html</a> <br/><br/>setTimeZone affects calls to set(), but doesn’t change the existing Calendar time? So if we wanted to change the time zone we are working with, we have to adjust all the time fields too…but a SimpleDateFormatter still would show it as the current time zone. - <a href="http://keyholesoftware.wordpress.com/2011/10/31/joda-time-the-future-of-java-datetime/">http://keyholesoftware.wordpress.com[..]1/joda-time-the-future-of-java-datetime/</a> <br/><br/><a href="http://blog.joda.org/2017/02/java-time-jsr-310-enhancements-java-9.html">http://blog.joda.org[..]va-time-jsr-310-enhancements-java-9.html</a> <br/><br/>deep dive into measuring time in Java - <a href="dihttps://www.javaadvent.com/2019/12/measuring-time-from-java-to-kernel-and-back.html">dihttps:[..]g-time-from-java-to-kernel-and-back.html</a> <br/><br/>CronScheduler - <a href="https://medium.com/@leventov/cronscheduler-a-reliable-java-scheduler-for-external-interactions-cb7ce4a4f2cd">https://medium.com[..]r-for-external-interactions-cb7ce4a4f2cd</a> <br/><br/>The Surprising Complexity Behind Time - <a href="http://blog.vanillajava.blog/2024/12/pre.html">http://blog.vanillajava.blog/2024/12/pre.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2025-01-16T12:10:04Zconstructor.txt2022-08-02T12:39:29Z2022-08-02T12:39:29Z<br/>Things I didn't know about Java: Generic Constructors - <a href="https://www.objectos.com.br/blog/java-generic-constructors.html">https://www.objectos.com.br/blog/java-generic-constructors.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2022-08-02T12:39:29Zdata.txt2022-05-22T12:36:05Z2022-05-22T12:36:05Z<br/>Data in Java programs - a basic conceptual model - <a href="https://docs.google.com/document/d/1J-a_K87P-R3TscD4uW2Qsbt5BlBR_7uX_BekwJ5BLSE/preview">https://docs.google.com[..]TscD4uW2Qsbt5BlBR_7uX_BekwJ5BLSE/preview</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2022-05-22T12:36:05Zhash.txt2022-03-29T05:28:14Z2022-03-29T05:28:14Z<br/>JVM Anatomy Quark #26: Identity Hash Code - <a href="https://shipilev.net/jvm/anatomy-quarks/26-identity-hash-code">https://shipilev.net/jvm/anatomy-quarks/26-identity-hash-code</a> <br/><br/>Hash, displace, and compress: Perfect hashing with Java - <a href="https://www.andreinc.net/2022/03/15/perfect-hashing-with-java">https://www.andreinc.net/2022/03/15/perfect-hashing-with-java</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2022-03-29T05:28:14Zlanguage.txt2022-02-01T13:48:54Z2022-02-01T13:48:54Z<br/>Mirandas, bridges, overpasses - <a href="https://medium.com/@pietrobraione/mirandas-bridges-overpasses-50b25655bb4c">https://medium.com[..]mirandas-bridges-overpasses-50b25655bb4c</a> <br/><br/>Understanding Java Compilation: From Bytecodes to Machine Code in the JVM - <a href="https://www.azul.com/blog/understanding-java-compilation-from-bytecodes-to-machine-code">https://www.azul.com[..]mpilation-from-bytecodes-to-machine-code</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2022-02-01T13:48:54Zfinalization.txt2021-12-27T14:55:27Z2021-12-27T14:55:27Z<br/><a href="http://java.sun.com/developer/technicalArticles/javase/finalization/">http://java.sun.com[..]r/technicalArticles/javase/finalization/</a> <br/><br/>Pitfall and solution of implementing finalize(), if you really need it <a href="http://www.hpl.hp.com/personal/Hans_Boehm/misc_slides/java_finalizers.pdf">http://www.hpl.hp.com[..]ns_Boehm/misc_slides/java_finalizers.pdf</a> <br/><br/>Optimization-robust finalization - <a href="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2007/n2261.html">http://www.open-std.org[..]C1/SC22/WG21/docs/papers/2007/n2261.html</a> <br/><br/>An example showing that memory leak caused by finalize() - <a href="http://vanillajava.blogspot.com.au/2012/12/object-resurrection.html">http://vanillajava.blogspot.com.au[..].com.au/2012/12/object-resurrection.html</a> <br/><br/>Beware the Finalizer queue, and java.lang.ref.Finalizer object - <a href="https://plumbr.eu/blog/debugging-to-understand-finalizer">https://plumbr.eu/blog/debugging-to-understand-finalizer</a> <br/><br/>try { return } finally {} - <a href="https://www.pixelstech.net/article/1474892842-try-%7B-return-%7D-finally-%7B%7D">https://www.pixelstech.net[..]892842-try-%7B-return-%7D-finally-%7B%7D</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2021-12-27T14:55:27Zgarbage.txt2021-09-12T13:26:48Z2021-09-12T13:26:48Z<br/>Some overview articles - <a href="http://javarevisited.blogspot.com/2011/04/garbage-collection-in-java.html">http://javarevisited.blogspot.com[..]/2011/04/garbage-collection-in-java.html</a> <a href="http://jeremymanson.blogspot.com/2010/01/garbage-collection-references.html">http://jeremymanson.blogspot.com[..]10/01/garbage-collection-references.html</a> <a href="http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html">http://www.oracle.com[..]work/java/javase/gc-tuning-6-140523.html</a> <a href="https://www.infoq.com/articles/understand-classic-java-garbage-collection">https://www.infoq.com[..]derstand-classic-java-garbage-collection</a> <br/><br/>Interview with Azul, about the pauseless GC - <a href="http://www.infoq.com/interviews/gil-tene-azul-zing">http://www.infoq.com/interviews/gil-tene-azul-zing</a> <br/><br/>A story of how to tune GC - <a href="http://kirk.blog-city.com/why_do_i_have_this_long_gc_pause.htm">http://kirk.blog-city.com/why_do_i_have_this_long_gc_pause.htm</a> <br/><br/>NewRatio ( XX:MaxNewSize ) is important, but usually ignored - <a href="http://blogs.oracle.com/jonthecollector/entry/the_second_most_important_gc">http://blogs.oracle.com[..]ector/entry/the_second_most_important_gc</a> <br/><br/>Java memory configuration and monitoring - <a href="http://blog.codecentric.de/en/2011/03/java-memory-configuration-and-monitoring-3rd-act/">http://blog.codecentric.de[..]ry-configuration-and-monitoring-3rd-act/</a> <br/><br/>How Garbage Collection differs in the three big JVMs - <a href="http://blog.dynatrace.com/2011/05/11/how-garbage-collection-differs-in-the-three-big-jvms/">http://blog.dynatrace.com[..]ollection-differs-in-the-three-big-jvms/</a> <br/><br/>Garbage Collection Bootcamp 1.0 - <a href="http://www.lucidimagination.com/blog/2011/03/27/garbage-collection-bootcamp-1-0/">http://www.lucidimagination.com[..]1/03/27/garbage-collection-bootcamp-1-0/</a> <br/><br/><a href="http://javarevisited.blogspot.sg/2012/10/10-garbage-collection-interview-question-answer.html">http://javarevisited.blogspot.sg[..]ollection-interview-question-answer.html</a> <br/><br/>How CMS work - <a href="https://blogs.oracle.com/jonthecollector/entry/hey_joe_phases_of_cms">https://blogs.oracle.com[..]thecollector/entry/hey_joe_phases_of_cms</a> <br/><br/>Compare between difference VM - <a href="http://www.optaplanner.org/blog/2015/07/31/WhatIsTheFastestGarbageCollectorInJava8.html">http://www.optaplanner.org[..]IsTheFastestGarbageCollectorInJava8.html</a> <br/><br/>GC handbook - <a href="https://plumbr.eu/java-garbage-collection-handbook">https://plumbr.eu/java-garbage-collection-handbook</a> <br/><br/>Check what GC you are using - <a href="http://marxsoftware.blogspot.hk/2016/04/determining-garbage-collector.html">http://marxsoftware.blogspot.hk[..]16/04/determining-garbage-collector.html</a> <br/><br/>About G1 Java Garbage Collector - <a href="http://dobbscodetalk.com/index.php?option=com_myblog&show=The-G1-Java-Garbage-Collector.html&Itemid=29">http://dobbscodetalk.com[..]G1-Java-Garbage-Collector.html&Itemid=29</a> <br/><br/>Tools to visualize GC - <a href="http://gceasy.io/">http://gceasy.io/</a> <br/><br/>Visualizing difference algorithm - <a href="https://spin.atomicobject.com/2014/09/03/visualizing-garbage-collection-algorithms/">https://spin.atomicobject.com[..]sualizing-garbage-collection-algorithms/</a> <br/><br/>safepoints - <a href="http://performantcode.com/gc/safepoints/">http://performantcode.com/gc/safepoints/</a> <br/><br/>Few new GCs for huge heap - <a href="https://dzone.com/articles/java-garbage-collection-3">https://dzone.com/articles/java-garbage-collection-3</a> <br/><br/>Objects are allocated with extra space for an indirection pointer. When the Java threads access the object, they first read the indirection pointer to see whether the object has moved. When the garbage collector moves an object, it updates the indirection pointer to point to the new location. New objects are allocated with an indirection pointer that points to themselves. Only when an object is copied during GC will the indirection pointer point to somewhere else. - <a href="https://blogs.oracle.com/javamagazine/understanding-garbage-collectors">https://blogs.oracle.com[..]agazine/understanding-garbage-collectors</a> <br/><br/>JVM Pauses - It's more than GC - <a href="https://blanco.io/blog/jvm-safepoint-pauses/">https://blanco.io/blog/jvm-safepoint-pauses/</a> <br/><br/>Digging into Java Garbage Collection - <a href="https://www.reddit.com/r/java/comments/pkjj5e/digging_into_java_garbage_collection/">https://www.reddit.com[..]5e/digging_into_java_garbage_collection/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2021-09-12T13:26:48Zcollections.txt2021-07-12T14:21:23Z2021-07-12T14:21:23Z<br/>Detailed decision of arraylist and linkedlist, consist of a lot benchmark results, take a look if interested: <a href="http://javachaos.crazyredpanda.com/?p=99">http://javachaos.crazyredpanda.com/?p=99</a> <br/><br/>One bug from java HashMap explaining it can be difficult to achieve fail-fast - <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6625725">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6625725</a> <a href="http://java.dzone.com/articles/do-your-iterators-always-fail">http://java.dzone.com/articles/do-your-iterators-always-fail</a> <br/><br/>Performance difference of difference collection - <a href="http://java-persistence-performance.blogspot.com/2010/12/what-is-faster-jvm-performance.html">http://java-persistence-performance.blogspot.com[..]0/12/what-is-faster-jvm-performance.html</a> <a href="http://leolewis.website.org/wordpress/2011/07/14/java-collection-performance/">http://leolewis.website.org[..]/2011/07/14/java-collection-performance/</a> <br/><br/>A treelist implementation - <a href="http://binkley.blogspot.com/2007_02_01_archive.html">http://binkley.blogspot.com/2007_02_01_archive.html</a> <br/><br/>Implement LRU cache using LinkedHashMap - <a href="http://vanillajava.blogspot.com/2011/06/java-secret-lru-cache-in-java.html">http://vanillajava.blogspot.com[..]11/06/java-secret-lru-cache-in-java.html</a> <br/><br/>Problem of using soft-reference for automate cache clean up - <a href="http://comments.gmane.org/gmane.comp.java.jsr.166-concurrency/7982">http://comments.gmane.org[..]gmane.comp.java.jsr.166-concurrency/7982</a> <br/><br/>if it claims that an element is contained in it, this might be in error, but if it claims that an element is not contained in it, then this is definitely true. - <a href="http://codingjunkie.net/guava-bloomfilter/">http://codingjunkie.net/guava-bloomfilter/</a> <br/><br/>Comment of various collections library - <a href="http://plumbr.eu/blog/selecting-your-collections-library">http://plumbr.eu/blog/selecting-your-collections-library</a> <br/><br/>List of FAQ of Java collections - <a href="http://www.journaldev.com/1330/java-collections-interview-questions-and-answers">http://www.journaldev.com[..]lections-interview-questions-and-answers</a> <br/><br/>Java Collections – Performance (Time Complexity) - <a href="http://infotechgems.blogspot.com.br/2011/11/java-collections-performance-time.html">http://infotechgems.blogspot.com.br[..]1/java-collections-performance-time.html</a> <br/><br/>Performance improvement for HashMap for Java8 - <a href="http://www.nurkiewicz.com/2014/04/hashmap-performance-improvements-in.html">http://www.nurkiewicz.com[..]hashmap-performance-improvements-in.html</a> <br/><br/>Introduction to GS collection - <a href="http://www.infoq.com/cn/articles/gs-collections-examples-tutorial-part1">http://www.infoq.com[..]s/gs-collections-examples-tutorial-part1</a> <a href="http://www.infoq.com/cn/articles/gs-collections-examples-tutorial-part2">http://www.infoq.com[..]s/gs-collections-examples-tutorial-part2</a> <br/><br/>removeEldestEntry, interesting function of linkedhashmap - <a href="http://www.ageofjava.com/2016/12/prevent-your-caches-from-exploding.html">http://www.ageofjava.com[..]/prevent-your-caches-from-exploding.html</a> <br/><br/>How new version of java help immutable style - <a href="https://dzone.com/articles/java-collections-are-evolving">https://dzone.com/articles/java-collections-are-evolving</a> <br/><br/><a href="https://blog.frankel.ch/map-merge-compute">https://blog.frankel.ch/map-merge-compute</a> <br/><br/>Hash puzzle with stringbuilder - <a href="https://threadreaderapp.com/thread/1402520496143540228.html">https://threadreaderapp.com/thread/1402520496143540228.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2021-07-12T14:21:23Zmemory.txt2021-06-24T13:58:59Z2021-06-24T13:58:59Z<br/>From java code to java heap, detail of how java use memory - <a href="http://www.ibm.com/developerworks/java/library/j-codetoheap/index.html">http://www.ibm.com[..]rks/java/library/j-codetoheap/index.html</a> <br/><br/>Algorithm of determine suitable thread pool size - <a href="http://www.javacodegeeks.com/2012/03/threading-stories-about-robust-thread.html">http://www.javacodegeeks.com[..]reading-stories-about-robust-thread.html</a> <br/><br/>Detail of how to analysis how much memory you need - <a href="http://www.javacodegeeks.com/2012/12/how-much-memory-do-i-need.html">http://www.javacodegeeks.com[..]m/2012/12/how-much-memory-do-i-need.html</a> <br/><br/>Chinese introduction of memory model - <a href="http://www.infoq.com/cn/articles/java-memory-model-1">http://www.infoq.com/cn/articles/java-memory-model-1</a> <br/><br/>Difference between PermGem and MetaSpace - <a href="http://javaeesupportpatterns.blogspot.com.au/2013/02/java-8-from-permgen-to-metaspace.html">http://javaeesupportpatterns.blogspot.com.au[..]02/java-8-from-permgen-to-metaspace.html</a> <br/><br/>How many bytes a boolean value takes in Java? - <a href="https://www.pixelstech.net/article/1582964859-How-many-bytes-a-boolean-value-takes-in-Java">https://www.pixelstech.net[..]many-bytes-a-boolean-value-takes-in-Java</a> <br/><br/> Demystifying JVM Memory Management - <a href="https://foojay.io/today/demystifying-jvm-memory-management/">https://foojay.io/today/demystifying-jvm-memory-management/</a> <br/><br/>Quest to the OS: Java Native Memory - <a href="https://blog.picnic.nl/quest-to-the-os-java-native-memory-5d3ef68ffc0a">https://blog.picnic.nl[..]o-the-os-java-native-memory-5d3ef68ffc0a</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2021-06-24T13:58:59Zfields.txt2021-06-20T12:54:51Z2021-06-20T12:54:51Z<br/><a href="http://mindprod.com/jgloss/transient.html">http://mindprod.com/jgloss/transient.html</a> <br/><br/><a href="http://mindprod.com/jgloss/volatile.html">http://mindprod.com/jgloss/volatile.html</a> <br/><br/><a href="https://www.claudiodesio.com/posts/constants.html">https://www.claudiodesio.com/posts/constants.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2021-06-20T12:54:51Zi18n.txt2021-03-08T05:05:16Z2021-03-08T05:05:16Z<br/>A very good tutorial of how to config and develop i18n web application<br/><a href="http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-i18n_p.html">http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-i18n_p.html</a> <br/><br/>and a shorter one<br/><a href="http://www.arachna.com/roller/page/spidaman/20050215#a_java_i18n_checklist">http://www.arachna.com[..]/spidaman/20050215#a_java_i18n_checklist</a> <br/><br/>and a tip<br/><a href="http://java.oreilly.com/lpt/a/1847">http://java.oreilly.com/lpt/a/1847</a> <br/><br/>An introduction of a useful API for localized currency handling DecimalFormatSymbols<br/><a href="http://blog.marcnuri.com/blog/default/2007/05/07/Numbers-to-Strings-with-custom-symbols-DecimalFormat-DecimalFormatSymbols">http://blog.marcnuri.com[..]mbols-DecimalFormat-DecimalFormatSymbols</a> <br/><br/>Benchmark of various charset detector - <a href="http://fredeaker.blogspot.com/2007/01/character-encoding-detection.html">http://fredeaker.blogspot.com[..]007/01/character-encoding-detection.html</a> <br/><br/>Work with filename with non-ASCII char - <a href="https://webtide.com/a-story-about-unix-unicode-java-filesystems-internationalization-and-normalization/">https://webtide.com[..]-internationalization-and-normalization/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2021-03-08T05:05:16Zcrash.txt2021-02-13T14:24:00Z2021-02-13T14:24:00Z<br/>In this post we will be looking at crash logs, the hs_err file, that is generated when the Java Virtual Machine crashes. Trying to find what is going wrong, and which component to blame, is important to understand how to interpret the crash log file. The focus will be on understanding the frames that make up the stack trace. - <a href="https://inside.java/2021/02/12/deciphering-the-stacktrace/">https://inside.java/2021/02/12/deciphering-the-stacktrace/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2021-02-13T14:24:00Zassemble.txt2021-02-12T00:37:17Z2021-02-12T00:37:17Z<br/>The tool that allow you write JVM instruction using assemble like command<br/><br/><a href="http://jasclipse.sourceforge.net/">http://jasclipse.sourceforge.net/</a> <br/><br/>An article about assemble Java - <a href="http://www.theserverside.com/tt/articles/content/GuideJavaBytecode/article.html">http://www.theserverside.com[..]s/content/GuideJavaBytecode/article.html</a> <br/><br/>Overview of bytecode - <a href="http://arhipov.blogspot.com/2011/01/java-bytecode-fundamentals.html">http://arhipov.blogspot.com[..]/2011/01/java-bytecode-fundamentals.html</a> <a href="http://www.javaadvent.com/2013/12/mastering-java-bytecode.html">http://www.javaadvent.com/2013/12/mastering-java-bytecode.html</a> <a href="https://blog.jamesdbloom.com/JavaCodeToByteCode_PartOne.html">https://blog.jamesdbloom.com/JavaCodeToByteCode_PartOne.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2021-02-12T00:37:17Zobject.txt2020-07-14T06:44:05Z2020-07-14T06:44:05Z<br/>We can control how the default hashcode return, and and what the difference of default hashcode between java7 and 8 - <a href="https://blog.codinghorror.com/complaint-driven-development/">https://blog.codinghorror.com/complaint-driven-development/</a> <br/><br/><a href="http://sigpwned.com/2018/08/10/string-hashcode-is-plenty-unique/">http://sigpwned.com/2018/08/10/string-hashcode-is-plenty-unique/</a> <br/><br/><a href="https://shipilev.net/jvm/objects-inside-out">https://shipilev.net/jvm/objects-inside-out</a> <br/><br/><a href="https://www.baeldung.com/jvm-measuring-object-sizes">https://www.baeldung.com/jvm-measuring-object-sizes</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2020-07-14T06:44:05Znumber.txt2018-07-13T15:54:42Z2018-07-13T15:54:42Z<br/> double aDouble = 12345678912345678912345.0;<br/> BigDecimal dd = new BigDecimal(aDouble);<br/> System.out.println(dd); // print: 12345678912345679593472<br/><br/> String aString = "12345678912345678912345.0";<br/> BigDecimal bd = new BigDecimal(aString);<br/> System.out.println(bd); // print: 12345678912345678912345.0<br/><br/>Java Hangs When Converting 2.2250738585072012e-308 - <a href="http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/">http://www.exploringbinary.com[..]when-converting-2-2250738585072012e-308/</a> <a href="http://bugs.openjdk.java.net/show_bug.cgi?id=100119">http://bugs.openjdk.java.net/show_bug.cgi?id=100119</a> <br/><br/>Compare performance between double and float - <a href="http://www.heatonresearch.com/content/choosing-between-java%E2%80%99s-float-and-double">http://www.heatonresearch.com[..]-between-java%E2%80%99s-float-and-double</a> <br/><br/>How to work correctly with double - <a href="http://vanillajava.blogspot.com.au/2014/07/compounding-double-error.html">http://vanillajava.blogspot.com.au[..]au/2014/07/compounding-double-error.html</a> <br/><br/>Maybe handy api, Math.toIntExact(Long) - <a href="http://marxsoftware.blogspot.com/2018/06/exact-conversion-of-long-to-int-in-java.html">http://marxsoftware.blogspot.com[..]t-conversion-of-long-to-int-in-java.html</a> <br/>Check the border cases - <a href="http://vanillajava.blogspot.com.au/2015/02/inconsistent-operation-widen-rules-in.html">http://vanillajava.blogspot.com.au[..]consistent-operation-widen-rules-in.html</a> <a href="http://vanillajava.blogspot.com.au/2014/10/a-java-conversion-puzzler-not-suitable.html">http://vanillajava.blogspot.com.au[..]ava-conversion-puzzler-not-suitable.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2018-07-13T15:54:42Zprocess.txt2018-02-26T15:45:40Z2018-02-26T15:45:40Z<br/>Execute and manage an external process from within Java - <a href="http://developer4life.blogspot.com.au/2013/01/executing-command-line-executable-from.html">http://developer4life.blogspot.com.au[..]cuting-command-line-executable-from.html</a> <br/><br/><a href="http://fahdshariff.blogspot.hk/2018/02/java-9-enhancements-to-process-api.html">http://fahdshariff.blogspot.hk[..]/java-9-enhancements-to-process-api.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2018-02-26T15:45:40Zjava.lang.ref.txt2017-10-31T02:18:25Z2017-10-31T02:18:25Z<br/>Overview of weak, soft and Phantom References<blockquote>Second, PhantomReferences avoid a fundamental problem with finalization: finalize() methods can "resurrect" objects by creating new strong references to them. So what, you say? Well, the problem is that an object which overrides finalize() must now be determined to be garbage in at least two separate garbage collection cycles in order to be collected. When the first cycle determines that it is garbage, it becomes eligible for finalization. Because of the (slim, but unfortunately real) possibility that the object was "resurrected" during finalization, the garbage collector has to run again before the object can actually be removed. And because finalization might not have happened in a timely fashion, an arbitrary number of garbage collection cycles might have happened while the object was waiting for finalization. This can mean serious delays in actually cleaning up garbage objects, and is why you can get OutOfMemoryErrors even when most of the heap is garbage.<br/><br/>With PhantomReference, this situation is impossible -- when a PhantomReference is enqueued, there is absolutely no way to get a pointer to the now-dead object (which is good, because it isn't in memory any longer). Because PhantomReference cannot be used to resurrect an object, the object can be instantly cleaned up during the first garbage collection cycle in which it is found to be phantomly reachable. You can then dispose whatever resources you need to at your convenience.<br/><br/>Arguably, the finalize() method should never have been provided in the first place. PhantomReferences are definitely safer and more efficient to use, and eliminating finalize() would have made parts of the VM considerably simpler. But, they're also more work to implement, so I confess to still using finalize() most of the time. The good news is that at least you have a choice. </blockquote><br/><a href="http://weblogs.java.net/blog/enicholas/archive/2006/05/understanding_w.html">http://weblogs.java.net[..]las/archive/2006/05/understanding_w.html</a> <br/><br/>The other valuable reference about object life cycle - <a href="http://java.sun.com/docs/books/performance/1st_edition/html/JPAppGC.fm.html">http://java.sun.com[..]ormance/1st_edition/html/JPAppGC.fm.html</a> <br/><br/>Incorrect use of reference can cause GC issue - <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4405807">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4405807</a> <br/><br/>fews more related blog - <a href="http://www.egimaben.com/java-garbage-collector-and-reference-objects/">http://www.egimaben.com[..]garbage-collector-and-reference-objects/</a> <a href="https://medium.com/@ramtop/weak-soft-and-phantom-references-in-java-and-why-they-matter-c04bfc9dc792">https://medium.com[..]in-java-and-why-they-matter-c04bfc9dc792</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2017-10-31T02:18:25Zjava.io.File.txt2014-12-14T01:38:06Z2014-12-14T01:38:06Z<br/>createTempFile() will not delete after JDK quit... which I also suppose it will<br/><br/>List of issue about File api, which I totally agree. <a href="http://hoskinator.blogspot.com/2006/06/using-file-class.html">http://hoskinator.blogspot.com/2006/06/using-file-class.html</a> <br/><br/>delete() will delete the file immediately even using some 3rd undelete utility cannot recover , I think the implementation should allow recovery chance - <a href="http://www.ryanlowe.ca/blog/archives/000574_java_delete_to_recycle_bin.php">http://www.ryanlowe.ca[..]es/000574_java_delete_to_recycle_bin.php</a> <br/><br/><a href="http://blog.pengyifan.com/java-io-in-nutshell-22-case-studies/">http://blog.pengyifan.com/java-io-in-nutshell-22-case-studies/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2014-12-14T01:38:06Zdate.txt2014-12-14T01:37:13Z2014-12-14T01:37:13Z<br/>One fact of System.nanoTime() , <blockquote>I think System.nanoTime()'s contract right now is that it *always*<br/>increases by a fixed amount. In other words, it's monotonic. So NTP<br/>updates, or user's changing system time can never cause any change to<br/>System.nanoTime().</blockquote><br/><a href="https://jsr-310.dev.java.net/servlets/ReadMsg?list=dev&msgNo=1282">https://jsr-310.dev.java.net/servlets/ReadMsg?list=dev&msgNo=1282</a> <br/><br/>A more detailed explanation of nanoTime() and currentMilliSecond() - <a href="http://blogs.sun.com/dholmes/entry/inside_the_hotspot_vm_clocks">http://blogs.sun.com/dholmes/entry/inside_the_hotspot_vm_clocks</a> <br/><br/><a href="http://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html">http://blog.joda.org[..]nverting-from-joda-time-to-javatime.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2014-12-14T01:37:13Ztype.txt2014-04-22T05:08:26Z2014-04-22T05:08:26Z<br/>Nice instanceof replacement - <a href="http://nurkiewicz.blogspot.com.au/2013/09/instanceof-operator-and-visitor-pattern.html">http://nurkiewicz.blogspot.com.au[..]anceof-operator-and-visitor-pattern.html</a> <a href="https://github.com/nurkiewicz/typeof">https://github.com/nurkiewicz/typeof</a> <br/><br/><a href="http://interviewquestionjava.blogspot.hk/2014/01/java-data-types-conversion-chart.html">http://interviewquestionjava.blogspot.hk[..]01/java-data-types-conversion-chart.html</a> <br/><br/>How to use reflection to get the size of Primitive - <a href="http://marxsoftware.blogspot.com.au/2014/04/programmatic-access-java-types-sizes.html">http://marxsoftware.blogspot.com.au[..]rogrammatic-access-java-types-sizes.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2014-04-22T05:08:26Zinstanceof.txt2013-10-22T16:11:36Z2013-10-22T16:11:36Z<br/>Nice instanceof replacement - <a href="http://nurkiewicz.blogspot.com.au/2013/09/instanceof-operator-and-visitor-pattern.html">http://nurkiewicz.blogspot.com.au[..]anceof-operator-and-visitor-pattern.html</a> <a href="https://github.com/nurkiewicz/typeof">https://github.com/nurkiewicz/typeof</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2013-10-22T16:11:36Zequals.txt2012-11-19T15:17:47Z2012-11-19T15:17:47Z<br/>Mutable cause issue - <a href="http://www.artima.com/lejava/articles/equality.html">http://www.artima.com/lejava/articles/equality.html</a> <br/><br/>Very detail discussion about implementing equals - <a href="http://www.angelikalanger.com/Articles/JavaSolutions/SecretsOfEquals/Equals.html">http://www.angelikalanger.com[..]avaSolutions/SecretsOfEquals/Equals.html</a> <a href="http://www.angelikalanger.com/Articles/JavaSolutions/SecretsOfEquals/Equals-2.html">http://www.angelikalanger.com[..]aSolutions/SecretsOfEquals/Equals-2.html</a> <br/><br/>Example of implement and TEST equals - <a href="http://blog.springfuse.com/2009/10/testing-various-equals-and-hashcode_3597.html">http://blog.springfuse.com[..]ng-various-equals-and-hashcode_3597.html</a> <br/><br/>Consistent of equals and compareTo - <a href="http://blog.joda.org/2012/11/pitfalls-of-consistent-with-equals.html">http://blog.joda.org[..]/pitfalls-of-consistent-with-equals.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2012-11-19T15:17:47Zthreaddump.txt2012-03-01T14:38:45Z2012-03-01T14:38:45Z<br/>The process of how to solve problem using thread dump is nice - <a href="http://www.cubrid.org/blog/dev-platform/how-to-analyze-java-thread-dumps/">http://www.cubrid.org[..]atform/how-to-analyze-java-thread-dumps/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2012-03-01T14:38:45Zstatic.txt2011-10-29T18:36:23Z2011-10-29T18:36:23Z<br/>Loading and unloading static fields, unlocd the class - <a href="http://www.javacodegeeks.com/2011/10/java-secret-loading-and-unloading.html">http://www.javacodegeeks.com[..]0/java-secret-loading-and-unloading.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2011-10-29T18:36:23Zclassloader.txt2011-05-14T18:01:11Z2011-05-14T18:01:11Z<br/>Add custom classloaders to compilation classpath: "javac -J-Djava.system.class.loader=my.custom.ClassLoaderImpl theSource.java"<br/><br/><a href="http://forums.java.net/jive/thread.jspa?messageID=87728&tstart=0#87728">http://forums.java.net[..]read.jspa?messageID=87728&tstart=0#87728</a> <br/><br/>Possible NULL from static fields... which is documented behaviours - <a href="http://qaix.com/java-programming/575-882-puzzling-class-field-hellip-read.shtml">http://qaix.com[..]2-puzzling-class-field-hellip-read.shtml</a> <br/><br/>Comparing Class.getResourceAsStream() and bundle.getEntry(), point out some issues of using Class.getResourceAsStream() - <a href="http://www.eclipsezone.com/eclipse/forums/t101557.rhtml">http://www.eclipsezone.com/eclipse/forums/t101557.rhtml</a> <br/><br/>Basic of classloader - <a href="http://www.journaldev.com/349/java-interview-questions-understanding-and-extending-java-classloader">http://www.journaldev.com[..]rstanding-and-extending-java-classloader</a> <a href="http://java.sun.com/developer/technicalArticles/Networking/classloaders/">http://java.sun.com[..]chnicalArticles/Networking/classloaders/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>2011-05-14T18:01:11Z