Re: Build failing when disabling the serialgc

2024-06-23 Thread David Holmes
On 20/06/2024 6:48 pm, Julian Waters wrote: Hi Sanne, The reason the build fails when disabling SerialGC is due to the build process explicitly calling the newly compiled Java with -XX:+UseSerialGC to do small workloads. This is not a bug in the JVM, but rather an unfortunate consequence of the

Re: Build failing when disabling the serialgc

2024-06-20 Thread Sanne Grinovero
Many thanks Erik and Julian for the pointers, I'll explore the --with-build-jdk suggestion, and opened a bug report: - https://bugs.openjdk.org/browse/JDK-8334617 On Thu, Jun 20, 2024 at 9:53 AM wrote: > > On 6/20/24 01:01, Sanne Grinovero wrote: > > Hi all, > > > > I was hoping to build a cus

Re: Build failing when disabling the serialgc

2024-06-20 Thread erik . joelsson
On 6/20/24 01:01, Sanne Grinovero wrote: Hi all, I was hoping to build a custom JVM which would only have G1GC as a garbage collector, for some experiments. Essentially I'm running: bash configure --with-jvm-variants=custom --with-jvm-features=cds,compiler1,compiler2,g1gc,jfr,jni-check,jvmci

Re: Build failing when disabling the serialgc

2024-06-20 Thread Julian Waters
Hi Sanne, The reason the build fails when disabling SerialGC is due to the build process explicitly calling the newly compiled Java with -XX:+UseSerialGC to do small workloads. This is not a bug in the JVM, but rather an unfortunate consequence of the way the build system is structured. I believe

Build failing when disabling the serialgc

2024-06-20 Thread Sanne Grinovero
Hi all, I was hoping to build a custom JVM which would only have G1GC as a garbage collector, for some experiments. Essentially I'm running: > bash configure --with-jvm-variants=custom > --with-jvm-features=cds,compiler1,compiler2,g1gc,jfr,jni-check,jvmci,jvmti,management,services,link-time-opt