34
u/ysangkok Sep 17 '19 edited Sep 17 '19
New features:
Added FileSystems.newFileSystem(Path, Map<String, ?>) Method
New java.nio.ByteBuffer Bulk get/put Methods Transfer Bytes Without Regard to Buffer Position
New keytool -showinfo -tls Command for Displaying TLS Configuration Information (bug)
Configurable Read Timeout for CRLs (bug)
Support for MS Cryptography Next Generation (CNG) (bug)
SunPKCS11 Provider Upgraded with Support for PKCS#11 v2.40 (bug)
Support for X25519 and X448 in TLS (bug)
Session Resumption without Server-Side State in JSSE (bug)
Allow SASL Mechanisms to Be Restricted (bug)
[xmldsig] Added KeyValue::EC_TYPE (bug)
New String Constants for Canonical XML 1.1 URIs (bug)
Added a Default Native GSS-API Library on Windows (bug)
Support for Kerberos Cross-Realm Referrals (RFC 6806) (bug)
New Methods for Creating DOM and SAX Factories with Namespace Support (bug)
16
10
u/surfinThruLyfe Sep 18 '19
Congrats!
Question about the 16 TB heap size. What type of applications would need such a high heap size? Big data processing?
15
u/raze2dust Sep 18 '19
Several classes of applications:
Things you could do with disks, but waaaaay faster. e.g, You could host entire production databases in memory. Things like joins will be insanely fast if all data is in memory.
Things that would require a distributed cluster earlier, but with 16TB RAM it can all be done on one host, significantly reducing execution time, overheads in performance and maintenance. e.g, What large map-reduce jobs used to do can be done on 1 host.
Entirely new applications which just won't be feasible if data was in disk - like maybe you can host the entire facebook connection graph on one host and run complex graph queries in milliseconds - algorithms requiring access to third and fourth degree connections perhaps.
I am sure there are several more.
2
Sep 18 '19
I'd also mention things like HFT which may use Java but want to avoid GC. 16TB is probably a little excessive, but I could easily see a trading platform using an in memory database and massive object pools.
5
u/DoomFrog666 Sep 17 '19
Does anybody know if the last versions preview features are now enabled by default? I can't find info about that.
5
u/dpash Sep 18 '19
No, because the only preview feature in 12 was switch expressions and they were reworked as a result of feedback from preview users, so it's still a preview feature in 13 too.
Raw string literals were meant to be a preview feature in 12, but they were pulled before the release due to them not being happy with the feature and reworked as the simpler multiline strings that we have as a preview in 13.
8
u/Aero72 Sep 18 '19
And in the last two days I just set up five newly provisioned servers to run ............. JDK 8 :) hehe.
3
2
Sep 18 '19
And here we're still stuck on JDK8 because of the module system. Last time I tried to upgrade everything just stopped working, are things any better now?
1
u/C_Madison Sep 18 '19
Most libraries have been module system ready for a while now, but you'll probably need to update your dependencies. For more details you'll have to tell us what you mean with "just stopped working".
1
0
-2
u/DJDavio Sep 18 '19
Beware: I downloaded the AdoptOpenJDK OpenJ9 version today (Linux x64) and my builds in IntelliJ and Maven stopped working with scary segmentation faults.
So I switched back to 11 and will wait until this becomes more stable. Sad that they don't really test these JDKs.
4
u/pron98 Sep 18 '19
You should note that, despite the confusing presentation, OpenJ9 is not OpenJDK. It does copy a lot of code from OpenJDK, but by my count, ~40% of the OpenJDK release changes do not apply to OpenJ9. It's just a whole other thing that happens to share code.
4
u/marvk Sep 17 '19
How long does it usually take for the Adopt version to release?