JDK 21 - Performance Improvements Revealed

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • JDK

    JDK main-line development https://openjdk.org/projects/jdk

  • In this case you have some binary data represented as a byte array and you want to treat it as an array of longs (or an array of any of the primitives.) SIMD here is over complicating it, as all you really need is to know what offset to use and if you need to re-interpret the bits. That's what the MethodHandles.byteArrayViewVarHandle is doing. In order to do this you need to use the Unsafe class. The code for all of this is generated from this template if you're interested.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts