Prebuilt Valhalla JDK build 26-jep401ea2

Cay Horstmann cay.horstmann at gmail.com
Thu Nov 6 10:43:57 UTC 2025


Thanks, it worked with that branch.

Here the GC.class_histogram outputs.

Without --enable-preview:

    1:      50000003     1200000072  java.time.LocalDate (java.base at 26-jep401ea2)
    2:             1      200000016  [Ljava.time.LocalDate; (java.base at 26-jep401ea2)
  
With --enable-preview:

    1:             1      400000016  [Ljava.time.LocalDate; (java.base at 26-jep401ea2)

Cheers,

Cay


Il 06/11/2025 09:54, Paul Hubner ha scritto:
> Hi Cay,
> 
> The binaries are built from the jep401ea2 branch: https://github.com/openjdk/valhalla/tree/jep401ea2 <https://github.com/openjdk/valhalla/tree/jep401ea2>. For clarification, are you observing heap flattening locally with our ea2 binaries?
> 
> Best,
> Paul
> 
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> *From:* valhalla-dev <valhalla-dev-retn at openjdk.org> on behalf of Cay Horstmann <cay.horstmann at gmail.com>
> *Sent:* Thursday, November 6, 2025 9:19 AM
> *To:* valhalla-dev at openjdk.org <valhalla-dev at openjdk.org>
> *Subject:* Prebuilt Valhalla JDK build 26-jep401ea2
> Hi, how was that build created? When I build from scratch from https://github.com/openjdk/valhalla <https://github.com/openjdk/valhalla>, I get a different behavior with the last example on https://inside.java/2025/10/27/try-jep-401-value-classes/ <https://inside.java/2025/10/27/try-jep-401-value-classes/> (i.e. no heap flattening).
> 
> Thanks,
> 
> Cay
> -- 
> 
> Cay S. Horstmann | https://horstmann.com <https://horstmann.com>
> 

-- 

Cay S. Horstmann | https://horstmann.com



More information about the valhalla-dev mailing list