{"id":160685,"date":"2019-09-06T01:45:00","date_gmt":"2019-09-05T17:45:00","guid":{"rendered":"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/?guid=dbaefe2576dea6f4379e75fd2c1342f8"},"modified":"2019-09-06T01:45:00","modified_gmt":"2019-09-05T17:45:00","slug":"openjdk-proposal-would-speed-up-java-g1-garbage-collector","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/09\/06\/openjdk-proposal-would-speed-up-java-g1-garbage-collector\/","title":{"rendered":"OpenJDK proposal would speed up Java G1 garbage collector"},"content":{"rendered":"<article>\n<section class=\"page\">\n<p>Java\u2019s <a href=\"https:\/\/www.infoworld.com\/article\/2935630\/controversial-g1-likely-to-be-java-9s-garbage-collector.html\">G1 garbage collector<\/a> would benefit from greater throughput and reduced CPU usage through a plan being floated in the OpenJDK community.<\/p>\n<p>A draft <a href=\"https:\/\/openjdk.java.net\/jeps\/8230187\" rel=\"nofollow\">JDK Enhancement Proposal (JEP)<\/a>\u00a0titled, \u201cThroughput post-write barrier for G1,\u201d would have the collector use a throughput-optimized barrier when concurrent refinement has been disabled to achieve better throughput at the cost of latency on certain workloads that are not latency-sensitive.<\/p>\n<aside class=\"fakesidebar\"><strong>[ SQL databases are gaining NoSQL features. Discover <a href=\"https:\/\/www.infoworld.com\/article\/3402716\/10-new-tricks-your-old-database-can-do.html\">10 new tricks your old database can do<\/a>. | Don\u2019t miss these <a href=\"https:\/\/www.infoworld.com\/article\/3404328\/7-mysql-and-mariadb-features-you-dont-want-to-miss.html\">7 powerful features in MySQL and MariaDB<\/a>. | Keep up with hot topics in programming with InfoWorld\u2019s <a href=\"https:\/\/www.infoworld.com\/newsletters\/signup.html\">App Dev Report newsletter<\/a>. ]<\/strong><\/aside>\n<aside class=\"fakesidebar\"\/>\n<p>The plan would be implemented through a new JVM flag, <code>-XX:-G1UseConcRefinement<\/code>, which would turn off concurrent refinement and allow G1 to use a \u201cthroughput post-write barrier.\u201d <code>G1UseConcRefinement<\/code> would be enabled by default, while the use of <code>-XX:-G1UseConcRefinement<\/code> would boost G1\u2019s throughput and cut CPU usage, according to the proposal. The simplified write barrier would be much shorter in length, improving the cache hit rate. This mode would cut the workload for handling a dirty card and compilation work for JIT <a href=\"http:\/\/itteacheritfreelance.hk\/index.php\" title=\"\u672c\u7db1\u9801\u63d0\u4f9b\u4e00\u500b\u65b9\u4fbf\u7684\u5e73\u53f0, \u70ba\u5927\u5bb6\u914d\u5c0d\u96fb\u8166\u88dc\u7fd2,IT freelance, \u79c1\u4eba\u8001\u5e2b , PHP\u88dc\u7fd2, HTML\u88dc\u7fd2, CSS\u88dc\u7fd2, JavaScript\u88dc\u7fd2, XML, Java\u88dc\u7fd2,Server\u88dc\u7fd2, MySQL\u88dc\u7fd2, \u4e2d\u5b78\u96fb\u8166\u79d1\u79c1\u4eba\u88dc\u7fd2, \u5728\u8077\u4eba\u58eb\u96fb\u8166\u63d0\u5347\u88dc\u7fd2,\u5c08\u696d\u8003\u8a66\u96fb\u8166 \u88dc\u7fd2,\u96fb\u8166\u5716\u50cf\u8a2d\u8a08\u96fb\u8166\u88dc\u7fd2, gra\">compiler<\/a>s. Further, the mode would reduce memory footprint by shrinking remembered sets and not using per-thread dirty card queues.<\/p>\n<p class=\"jumpTag\"><a href=\"https:\/\/www.javaworld.com\/article\/3435792\/openjdk-proposal-would-speed-up-java-g1-garbage-collector.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/section>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<article>\n<section>\n<p>Java&rsquo;s <a href=\"https:\/\/www.infoworld.com\/article\/2935630\/controversial-g1-likely-to-be-java-9s-garbage-collector.html\">G1 garbage collector<\/a> would benefit from greater throughput and reduced CPU usage through a plan being floated in the OpenJDK community.<\/p>\n<p>A draft <a href=\"https:\/\/openjdk.java.net\/jeps\/8230187\" rel=\"nofollow\">JDK Enhancement Proposal (JEP)<\/a>&nbsp;titled, &ldquo;Throughput post-write barrier for G1,&rdquo; would have the collector use a throughput-optimized barrier when concurrent refinement has been disabled to achieve better throughput at the cost of latency on certain workloads that are not latency-sensitive.<\/p>\n<aside><strong>[ SQL databases are gaining NoSQL features. Discover <a href=\"https:\/\/www.infoworld.com\/article\/3402716\/10-new-tricks-your-old-database-can-do.html\">10 new tricks your old database can do<\/a>. | Don&rsquo;t miss these <a href=\"https:\/\/www.infoworld.com\/article\/3404328\/7-mysql-and-mariadb-features-you-dont-want-to-miss.html\">7 powerful features in MySQL and MariaDB<\/a>. | Keep up with hot topics in programming with InfoWorld&rsquo;s <a href=\"https:\/\/www.infoworld.com\/newsletters\/signup.html\">App Dev Report newsletter<\/a>. ]<\/strong><\/aside>\n<aside><\/aside>\n<p>The plan would be implemented through a new JVM flag, <code>-XX:-G1UseConcRefinement<\/code>, which would turn off concurrent refinement and allow G1 to use a &ldquo;throughput post-write barrier.&rdquo; <code>G1UseConcRefinement<\/code> would be enabled by default, while the use of <code>-XX:-G1UseConcRefinement<\/code> would boost G1&rsquo;s throughput and cut CPU usage, according to the proposal. The simplified write barrier would be much shorter in length, improving the cache hit rate. This mode would cut the workload for handling a dirty card and compilation work for JIT compilers. Further, the mode would reduce memory footprint by shrinking remembered sets and not using per-thread dirty card queues.<\/p>\n<p><a href=\"https:\/\/www.javaworld.com\/article\/3435792\/openjdk-proposal-would-speed-up-java-g1-garbage-collector.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/section>\n<\/article>\n<p> <a href=\"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/09\/06\/openjdk-proposal-would-speed-up-java-g1-garbage-collector\/\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":134,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"slim_seo":[],"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[451,2,7],"tags":[398,402,397,414,413,410,409,407,408,406,399,400,394,318,558,560,555,561,566,553,554,586,585,563,562,183,567,524,10,401,396,403,412,411,395,405,404,457,454,319,316],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7prtj-FNH","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/160685"}],"collection":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/users\/134"}],"replies":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/comments?post=160685"}],"version-history":[{"count":1,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/160685\/revisions"}],"predecessor-version":[{"id":160686,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/160685\/revisions\/160686"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/media?parent=160685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/categories?post=160685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/tags?post=160685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}