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

2020-01-30 Thread August Nagro
very helpful. I would think you'll have better luck on Linux + gcc than me on Mac, although icc claims compatible with llvm too. Let me know if you succeed! On Thu, Jan 30, 2020, 9:37 AM Magnus Ihse Bursie < magnus.ihse.bur...@oracle.com> wrote: > > > On 2019-12-18 00:05, August Nag

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
the tests show that Os/O2 is >no different than O3, >- who knows if this will be true in the future. >- > > > > What alternatives do you have in mind ? > > > > Best regards, Matthias > > > > > > *From:* August Nagro > *Sent:* Mittwoch, 18. Dezem

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

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,