Skip to content

Latest commit

 

History

History
119 lines (79 loc) · 1.67 KB

README.md

File metadata and controls

119 lines (79 loc) · 1.67 KB

Java 11 (LTS)

Oracle, OpenJDK

  • LTS after Java8
  • No free lts support by Oracle
  • OpenJDK

String Class

  • isBlank()
  • lines()
  • strip()
  • stripLeading
  • stripTrailing
  • repeat

New File Methods

  • Files.writeString()
  • Files.readString()

Collection to Array

  • toArray()

Not Predicate

  • Predicate.not()

Var in Lambda

  • @Nonnull (var x) -> x.toUpperCase()

No need to compile

previous versions:

javac Miscellaneous.java
java Miscellaneous

now:

java Miscellaneous.java

No Op garbage collector

  • Epsilon

  • Experimental feature

  • No-Op (No Operations)

  • Usage:

    • ! Production
    • Performance testing
    • Memory Pressure testing
    • VM interface testing
    • ...
  • enable:

-XX:+UnlockExperimentalVmOptions 
-XX:+UseEpsilonGC

JFR

  • Java Flight Recorder
  • Profiling tool
  • open sourced in OpenJDK
  • commercial in Oracle JDK
  • JMC (Java Mission Control)

JavaEE and Corba

  • java9: Deprecated
  • java11: Removed
    • java.corba
    • java.transaction
    • java.xml.ws
    • java.xml.ws.annotation
    • java.xml.bind
    • java.activation
    • ...

JDK, JMC, JavaFX

Unleash the Power of Open Source Java Profilers: Comparing VisualVM, JMC, and async-profiler