Re: RFR: 8210416: [linux] Poor StrictMath performance due to non-optimized compilation

2018-09-07 Thread Severin Gehwolf
Hi, On Thu, 2018-09-06 at 10:55 -0700, Erik Joelsson wrote: > On 2018-09-06 10:29, Severin Gehwolf wrote: > > On Thu, 2018-09-06 at 09:55 -0700, Erik Joelsson wrote: > > Thanks, Erik. GCC supports -ffp-contract since 4.6. Clang has -ffp- > > contract too. Question is beginning from which version.

Re: RFR: 8210416: [linux] Poor StrictMath performance due to non-optimized compilation

2018-09-07 Thread David Holmes
Hi Severin, On 7/09/2018 6:01 PM, Severin Gehwolf wrote: Hi, On Thu, 2018-09-06 at 10:55 -0700, Erik Joelsson wrote: On 2018-09-06 10:29, Severin Gehwolf wrote: On Thu, 2018-09-06 at 09:55 -0700, Erik Joelsson wrote: Thanks, Erik. GCC supports -ffp-contract since 4.6. Clang has -ffp- contract

Re: Solaris sparc build issue with OpenJDK 11(+28): /usr/gnu/bin/nm: jvmciCompilerToVMInit.o: Bad value

2018-09-07 Thread Petr Sumbera
Hi David, In Solaris Userland we set by default NM=/usr/gnu/bin/nm. https://github.com/oracle/solaris-userland/blob/master/make-rules/configure.mk#L164 configure: WARNING: Ignoring value of NM from the environment. Use command line variables instead. checking for nm... /usr/gnu/bin/nm checkin

Re: RFR: 8210416: [linux] Poor StrictMath performance due to non-optimized compilation

2018-09-07 Thread Erik Joelsson
On 2018-09-07 01:56, David Holmes wrote: Hi Severin, On 7/09/2018 6:01 PM, Severin Gehwolf wrote: Hi, On Thu, 2018-09-06 at 10:55 -0700, Erik Joelsson wrote: On 2018-09-06 10:29, Severin Gehwolf wrote: On Thu, 2018-09-06 at 09:55 -0700, Erik Joelsson wrote: Thanks, Erik. GCC supports -ffp-co

Re: RFR: 8210416: [linux] Poor StrictMath performance due to non-optimized compilation

2018-09-07 Thread Severin Gehwolf
On Fri, 2018-09-07 at 09:12 -0700, Erik Joelsson wrote: > On 2018-09-07 01:56, David Holmes wrote: > > Hi Severin, > > > > On 7/09/2018 6:01 PM, Severin Gehwolf wrote: > > > Hi, > > > > > > On Thu, 2018-09-06 at 10:55 -0700, Erik Joelsson wrote: > > > > On 2018-09-06 10:29, Severin Gehwolf wrote:

Re: RFR: 8210416: [linux] Poor StrictMath performance due to non-optimized compilation

2018-09-07 Thread Erik Joelsson
On 2018-09-07 09:56, Severin Gehwolf wrote: On Fri, 2018-09-07 at 09:12 -0700, Erik Joelsson wrote: To me it sounds like we want this flag if the toolchain is either gcc or clang, so please make it conditional on that. Updated webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8210416/web

Re: RFR: JDK-8202384: Introduce alternate jvm variant with speculative execution disabled

2018-09-07 Thread Erik Joelsson
Hello again, Resurrecting this review. It is now part of proposed JEP and some details have changed. The alternate jvm variant is now called "nonspeculative", and so is activated with the command line flag "-nonspeculative". This is all in line with the proposed JEP. Differences from last we