Re: How do I reliably prevent CDS archive generation during builds?

2024-05-06 Thread Thomas Stüfe
Thank you, Eric! On Mon, May 6, 2024 at 7:21 PM wrote: > On 5/6/24 09:26, Thomas Stüfe wrote: > > Hi, > > > > is there a way to reliably prevent the jvm from being called with > > -Xshare:dump during build? > > > > Often, when I tinker with metaspace or compressed klass pointers, CDS > > gets

Re: How do I reliably prevent CDS archive generation during builds?

2024-05-06 Thread Thomas Stüfe
Hi Julian, Yes, that confused me too. See here: https://github.com/openjdk/jdk/blob/f308e107ce8b993641ee3d0a0d5d52bf5cd3b94e/make/GenerateLinkOptData.gmk#L76 Cheers, Thomas On Tue, May 7, 2024 at 2:58 AM Julian Waters wrote: > Hi Thomas, > > --disable-jvm-feature-link-time-opt is for

Re: Hermetic Java project meeting

2024-05-06 Thread Jiangli Zhou
On Tue, Apr 30, 2024 at 5:42 AM Magnus Ihse Bursie wrote: > > > On 2024-04-26 03:15, Jiangli Zhou wrote: > > On Thu, Apr 25, 2024 at 9:28 AM Magnus Ihse Bursie > > wrote: > >> > >> Just to be more clear, that's with using `objcopy` to localize > >> non-exported symbols for all JDK static

How do I reliably prevent CDS archive generation during builds?

2024-05-06 Thread Julian Waters
Hi Thomas, --disable-jvm-feature-link-time-opt is for disabling Link Time Optimization when compiling the JVM itself, as in, requesting LTO from the linker that is linking the JVM. It doesn't have anything to do with what arguments the newly compiled JVM is called with and isn't related to the

Re: RFR: 8329538: Accelerate P256 on x86_64 using Montgomery intrinsic [v6]

2024-05-06 Thread Volodymyr Paprotski
> Performance. Before: > > Benchmark(algorithm) (dataSize) (keyLength) > (provider) Mode Cnt ScoreError Units > SignatureBench.ECDSA.signSHA256withECDSA1024 256 > thrpt3 6443.934 ± 6.491 ops/s >

Re: RFR: 8298405: Implement JEP 467: Markdown Documentation Comments [v66]

2024-05-06 Thread Jonathan Gibbons
> Please review a patch to add support for Markdown syntax in documentation > comments, as described in the associated JEP. > > Notable features: > > * support for `///` documentation comments in `JavaTokenizer` > * new module `jdk.internal.md` -- a private copy of the `commonmark-java` >

undefined symbols in libjvm.so

2024-05-06 Thread Vladimir Petko
Hi, I have recently encountered bugs caused by undefined symbols in libjvm.so[1][2]. The root cause of those issues is the expression in make/autoconf/flags-ldflags.m4: --- if test "x$TOOLCHAIN_TYPE" = xgcc; then EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined" ... --

Re: RFR: 8298405: Implement JEP 467: Markdown Documentation Comments [v65]

2024-05-06 Thread Jonathan Gibbons
> Please review a patch to add support for Markdown syntax in documentation > comments, as described in the associated JEP. > > Notable features: > > * support for `///` documentation comments in `JavaTokenizer` > * new module `jdk.internal.md` -- a private copy of the `commonmark-java` >

Re: How do I reliably prevent CDS archive generation during builds?

2024-05-06 Thread erik . joelsson
On 5/6/24 09:26, Thomas Stüfe wrote: Hi, is there a way to reliably prevent the jvm from being called with -Xshare:dump during build? Often, when I tinker with metaspace or compressed klass pointers, CDS gets broken. During development, that is fine; it is a temporary state. However, if

How do I reliably prevent CDS archive generation during builds?

2024-05-06 Thread Thomas Stüfe
Hi, is there a way to reliably prevent the jvm from being called with -Xshare:dump during build? Often, when I tinker with metaspace or compressed klass pointers, CDS gets broken. During development, that is fine; it is a temporary state. However, if -Xshare:dump is invoked, it may crash the

Re: JDK-8170635

2024-05-06 Thread Thomas Stüfe
Not sure if you meant to address this mail to a specific person. I assume with proposal you mean this: https://mail.openjdk.org/pipermail/build-dev/2016-September/017746.html ? If yes, my proposal was to move dladdr out of the OpenJDK code base into an independent library that would be maintained

JDK-8170635

2024-05-06 Thread Suchismith Roy
I wanted to discuss regarding https://bugs.openjdk.org/browse/JDK-8170635. Do you have any pointers on moving dladdr() for AIX according to the current JDK23 structure. I think you had suggested one proposition according to JDK11 ? Could we get some more pointers on this proposition ?