RE: RE: building libjvm with -Os for space optimization - was : RE: RFR: 8234525: enable link-time section-gc for linux s390x to remove unused code

2019-12-18 Thread August Nagro
I published some benchmarks of OpenJDK on Mac with Ofast and O3 [1]. Some microbenchmarks like Netty’s HttpObjectEncoder experienced >100% speedup with O3, and the more real-world Dacapo suite was ~15% improvement over O2 (which is exactly the same as Os). I did include a few other flags, howeve

Re: RE: building libjvm with -Os for space optimization - was : RE: RFR: 8234525: enable link-time section-gc for linux s390x to remove unused code

2019-12-18 Thread August Nagro
I compiled with clang since I'm on Mac. The Renaissance benchmark suite is also a good one that I learned about recently. My opinion is that there are probably more compelling alternatives if reducing binary size is the goal. Even if the tests show that Os/O2 is no different than O3, who knows if

RE: RE: building libjvm with -Os for space optimization - was : RE: RFR: 8234525: enable link-time section-gc for linux s390x to remove unused code

2019-12-18 Thread Baesken, Matthias
* I compiled with clang since I'm on Mac. * Thanks for clarifying, that’s what I thought . (btw I wonder how much effect profile guided optimization would bring in your experiments ) * My opinion is that there are probably more compelling alternatives if reducing binary size is

Re: RFR: 8236110: Windows (MSVC 2013) build failures after JDK-8233299

2019-12-18 Thread Stefan Karlsson
Adding build-dev. StefanK On 2019-12-18 18:52, Stefan Karlsson wrote: Hi all, Please review this patch to add a configure check to see if the SDK supports the APIs needed to build ZGC on Windows. https://cr.openjdk.java.net/~stefank/8236110 https://bugs.openjdk.java.net/browse/JDK-8236110

Re: RE: building libjvm with -Os for space optimization - was : RE: RFR: 8234525: enable link-time section-gc for linux s390x to remove unused code

2019-12-18 Thread August Nagro
> (btw I wonder how much effect profile guided optimization would bring in your experiments ) That's good idea; I'm also curious about PGO. I know some apps get 10-20% performance boost, however setting up PGO is pretty inconvenient. But maybe having it run over the DaCapo / Renaissance benchmark

arm32 build broken since 8234794: AArch64: runtime/memory/ReadFromNoaccessArea.java crashes

2019-12-18 Thread Marc Hoffmann
Dear JDK OpenJDK Team, FYI since changeset 57501:dd4b4f273274 (8234794: AArch64: runtime/memory/ReadFromNoaccessArea.java crashes) the build on arm32 seems to be broken: * For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_link: /workspace/build/linux-arm-server-release/hotspot/variant