Java Standard Edition 10’un bir implementation’ı olan JDK 10, 20 Mart 2018’de yayınlandı.

javaBu yeni sürümde 12 yeni geliştirme bulunuyor bunların en önemlisi çöp toplama(garbage collection ), derleme ve yerel değişken tipleri(local variable) üzerinde olmuştur. Oracle ve Java topluluğu 2017 yılında artık 6 ayda bir yeni sürüm çıkarma kararı almışlardı. Bundan 6 ay önce yayınlanan JAVA JDK9 dan sonra gelen bu yeni sürüm alınan yeni karar üzerine çıkan ilk sürüm dür.  JDK 10 için genel güncellemeler altı ay içinde sona erecek. 2017 yılında alınan ortak kararla sürüm isimleri de yıl ve ay numaralarıyla adlandırılacaktı. Mesela bu çıkan sürüm 18.3 olacaktı ancak bundan vaz geçildi.

 

Java JDK 10 nereden indirilir?
JDK 10’u Oracle’ın web sitesinden indirebilirsiniz.

 

JDK 10’da 12 tane önemli yeni gelen özellik bulunur bunlar:

  1. Local-Variable Type Inference: Enhances the Java Language to extend type inference to declarations of local variables with initializers. It introduces var to Java, something that is common in other languages.
  2. Consolidate the JDK Forest into a Single Repository: Combine the numerous repositories of the JDK forest into a single repository to simplify and streamline development.
  3. Garbage Collector Interface: Improves the source code isolation of different garbage collectors by introducing a clean garbage collector (GC) interface.
  4. Parallel Full GC for G1: Improves G1 worst-case latencies by making the full GC parallel.
  5. Application Data-Class Sharing: To improve startup and footprint, this JEP extends the existing Class-Data Sharing (“CDS”) feature to allow application classes to be placed in the shared archive.
  6. Thread-Local Handshakes: Introduce a way to execute a callback on threads without performing a global VM safepoint. Makes it both possible and cheap to stop individual threads and not just all threads or none.
  7. Remove the Native-Header Generator Tool: Remove the javah tool from the JDK since it has been superseded by superior functionality in javac.
  8. Additional Unicode Language-Tag Extensions: Enhances java.util.Locale and related APIs to implement additional Unicode extensions of BCP 47 language tags.
  9. Heap Allocation on Alternative Memory Devices: Enables the HotSpot VM to allocate the Java object heap on an alternative memory device, such as an NV-DIMM, specified by the user.
  10. Experimental Java-Based JIT Compiler: Enables the Java-based JIT compiler, Graal, to be used as an experimental JIT compiler on the Linux/x64 platform.
  11. Root Certificates: Provides a default set of root Certification Authority (CA) certificates in the JDK.
  12. Time-Based Release Versioning: Revises the version-string scheme of the Java SE Platform and the JDK, and related versioning information, for present and future time-based release models.

Bu sürüm hakkında daha fazla bilgiye  JDK 10 sürüm notları sayfasından erişebilirsiniz.