{"id":4721,"date":"2019-04-05T00:50:25","date_gmt":"2019-04-05T04:50:25","guid":{"rendered":"https:\/\/www.freelancinggig.com\/blog\/?p=4721"},"modified":"2019-04-05T00:50:28","modified_gmt":"2019-04-05T04:50:28","slug":"java-12-features-and-release-date","status":"publish","type":"post","link":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/","title":{"rendered":"Java 12 Features and Release Date"},"content":{"rendered":"<p>Java never fails to create a buzz and as per announcement,\nthe 12th version of Java is out in the market. However, LTS or long-term\nsupport is not yet out and therefore, there is yet to be a mass transition to\nbe made. The release date of Java 12 was on 19th March and this is a major\nrelease and as with all major releases, there are major updates and features\ninclude. As far as Java 12 goes, the following are the features you need to\nwatch out for. <\/p>\n\n\n\n<p><strong>New Garbage Collection &#x2013;<\/strong> It has become a trend of Java to get some changes in the garbage collection algorithm. This is because Java is renowned for its garbage collection mechanism and since other companies are giving a tough competition, Java wants to be ahead of them all the time. This change is deemed as experimental and Java 13 will probably have a concrete one placed. According to the latest changes, GC will need less time for concurrent execution and the pause time has reduced significantly. The pause time now will be independent of the heap size. The name of the garbage collection is Shenandoah.<\/p>\n\n\n\n<p><strong>JVM Constants <a class=\"glossaryLink\"  href=\"https:\/\/www.freelancinggig.com\/blog\/glossary\/api\/\"  data-gt-translate-attributes='[{\"attribute\":\"data-cmtooltip\", \"format\":\"html\"}]'  tabindex='0' role='link'>API<\/a> &ndash;<\/strong> This is a new introduction and it takes care of the key class-file and run-time artifacts. It basically addresses the loadable constants from the constant pool. <\/p>\n\n\n\n<p><strong>Switch Expression &#x2013;<\/strong> This is a new makeover on the switch statement whereby it can be used both as a statement as well as an expression. Each of the ways can have traditional and simplified control flow and scope. The changes have been made to simplify coding and use switch more often. <\/p>\n\n\n\n<p><strong>Microbenchmark Suite &#x2013;<\/strong> This is a completely new suite introduced in Java 12 which most of them are mockingly calling the best feature Java 12 has to produce. It is a basic suite of microbenchmark and its purpose is to make existing microbenchmarks run smoothly and create new ones effortlessly. <\/p>\n\n\n\n<p>Apart from these, there is an abortable mixed collection of\nG1, default CDS archive and various such small changes here and there. <\/p>\n\n\n\n<p>Other than these, the raw string literals feature has been\ntaken down in Java 12 after receiving so many different complaints from the\ndevelopers. It is likely to be reintroduced in the next version after sorting\nout the shortcoming. All in all, you have to say that Java 12 does not really\nqualify as a major release as there are only a few features added and the rest\nis just fixing the bugs. But these changes are enough not to make it a minor\nrelease. Java 12 will receive commercial support from Oracle for the\nshort-term. This means the support may be discontinued after the release of\nJava 13. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java never fails to create a buzz and as per announcement, the 12th version of Java is out in the market. However, LTS or long-term &#x2026;<\/p>\n","protected":false},"author":3,"featured_media":4722,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[1506,1505,1507],"class_list":["post-4721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-startup-resources","tag-java-12","tag-java-12-features","tag-java-12-release-date"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java 12 Features and Release Date - Developers, Designers &amp; Freelancers - FreelancingGig<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java 12 Features and Release Date - Developers, Designers &amp; Freelancers - FreelancingGig\" \/>\n<meta property=\"og:description\" content=\"Java never fails to create a buzz and as per announcement, the 12th version of Java is out in the market. However, LTS or long-term ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/\" \/>\n<meta property=\"og:site_name\" content=\"Developers, Designers &amp; Freelancers - FreelancingGig\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-05T04:50:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-05T04:50:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2019\/04\/Java-12-Features-and-Release-Date.png\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"463\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Kitty Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kitty Gupta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/\"},\"author\":{\"name\":\"Kitty Gupta\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/person\\\/48f1ba04a6bf525d5251b2eda9c7bb0c\"},\"headline\":\"Java 12 Features and Release Date\",\"datePublished\":\"2019-04-05T04:50:25+00:00\",\"dateModified\":\"2019-04-05T04:50:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/\"},\"wordCount\":449,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/Java-12-Features-and-Release-Date.png\",\"keywords\":[\"Java 12\",\"Java 12 Features\",\"Java 12 Release Date\"],\"articleSection\":[\"Startup Resources\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/\",\"name\":\"Java 12 Features and Release Date - Developers, Designers &amp; Freelancers - FreelancingGig\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/Java-12-Features-and-Release-Date.png\",\"datePublished\":\"2019-04-05T04:50:25+00:00\",\"dateModified\":\"2019-04-05T04:50:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/Java-12-Features-and-Release-Date.png\",\"contentUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/Java-12-Features-and-Release-Date.png\",\"width\":750,\"height\":463,\"caption\":\"Java 12\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/2019\\\/04\\\/05\\\/java-12-features-and-release-date\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java 12 Features and Release Date\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\",\"name\":\"Developers, Designers &amp; Freelancers - FreelancingGig\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#organization\",\"name\":\"FreelancingGig\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/freelancinggig-website-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/freelancinggig-website-logo.png\",\"width\":213,\"height\":35,\"caption\":\"FreelancingGig\"},\"image\":{\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.freelancinggig.com\\\/blog\\\/#\\\/schema\\\/person\\\/48f1ba04a6bf525d5251b2eda9c7bb0c\",\"name\":\"Kitty Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g\",\"caption\":\"Kitty Gupta\"},\"description\":\"Kitty Gupta is FreelancingGig's Content &amp; Community Manager. She has many years experience writing for reputable platforms with her engineering and communications background.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java 12 Features and Release Date - Developers, Designers &amp; Freelancers - FreelancingGig","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/","og_locale":"en_US","og_type":"article","og_title":"Java 12 Features and Release Date - Developers, Designers &amp; Freelancers - FreelancingGig","og_description":"Java never fails to create a buzz and as per announcement, the 12th version of Java is out in the market. However, LTS or long-term ...","og_url":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/","og_site_name":"Developers, Designers &amp; Freelancers - FreelancingGig","article_published_time":"2019-04-05T04:50:25+00:00","article_modified_time":"2019-04-05T04:50:28+00:00","og_image":[{"width":750,"height":463,"url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2019\/04\/Java-12-Features-and-Release-Date.png","type":"image\/png"}],"author":"Kitty Gupta","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kitty Gupta","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/#article","isPartOf":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/"},"author":{"name":"Kitty Gupta","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/person\/48f1ba04a6bf525d5251b2eda9c7bb0c"},"headline":"Java 12 Features and Release Date","datePublished":"2019-04-05T04:50:25+00:00","dateModified":"2019-04-05T04:50:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/"},"wordCount":449,"commentCount":0,"publisher":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/#primaryimage"},"thumbnailUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2019\/04\/Java-12-Features-and-Release-Date.png","keywords":["Java 12","Java 12 Features","Java 12 Release Date"],"articleSection":["Startup Resources"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/","url":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/","name":"Java 12 Features and Release Date - Developers, Designers &amp; Freelancers - FreelancingGig","isPartOf":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/#primaryimage"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/#primaryimage"},"thumbnailUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2019\/04\/Java-12-Features-and-Release-Date.png","datePublished":"2019-04-05T04:50:25+00:00","dateModified":"2019-04-05T04:50:28+00:00","breadcrumb":{"@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/#primaryimage","url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2019\/04\/Java-12-Features-and-Release-Date.png","contentUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2019\/04\/Java-12-Features-and-Release-Date.png","width":750,"height":463,"caption":"Java 12"},{"@type":"BreadcrumbList","@id":"https:\/\/www.freelancinggig.com\/blog\/2019\/04\/05\/java-12-features-and-release-date\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.freelancinggig.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Java 12 Features and Release Date"}]},{"@type":"WebSite","@id":"https:\/\/www.freelancinggig.com\/blog\/#website","url":"https:\/\/www.freelancinggig.com\/blog\/","name":"Developers, Designers &amp; Freelancers - FreelancingGig","description":"","publisher":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.freelancinggig.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.freelancinggig.com\/blog\/#organization","name":"FreelancingGig","url":"https:\/\/www.freelancinggig.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/03\/freelancinggig-website-logo.png","contentUrl":"https:\/\/www.freelancinggig.com\/blog\/wp-content\/uploads\/2020\/03\/freelancinggig-website-logo.png","width":213,"height":35,"caption":"FreelancingGig"},"image":{"@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.freelancinggig.com\/blog\/#\/schema\/person\/48f1ba04a6bf525d5251b2eda9c7bb0c","name":"Kitty Gupta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e45872c7ed30fc8f42c4fcfc60f8d2c667422939d9e4144a03e70d71e9d44bd6?s=96&d=wp_user_avatar&r=g","caption":"Kitty Gupta"},"description":"Kitty Gupta is FreelancingGig's Content &amp; Community Manager. She has many years experience writing for reputable platforms with her engineering and communications background."}]}},"_links":{"self":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/4721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/comments?post=4721"}],"version-history":[{"count":1,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/4721\/revisions"}],"predecessor-version":[{"id":4723,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/posts\/4721\/revisions\/4723"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/media\/4722"}],"wp:attachment":[{"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/media?parent=4721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/categories?post=4721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelancinggig.com\/blog\/wp-json\/wp\/v2\/tags?post=4721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}