Re: RTTI on Solaris/SPARC builds

2017-02-24 Thread David Holmes
On 24/02/2017 6:00 PM, Volker Simonis wrote: As far as I can see we don't explicitly set a compatibility mode so according to the SS 12 documentation [1] we are using -compat=5, which is the default. Also, according to [1], -feature=nortti can only be used in compat mode 4. So I'm afraid we have

Re: RTTI on Solaris/SPARC builds

2017-02-24 Thread Volker Simonis
As far as I can see we don't explicitly set a compatibility mode so according to the SS 12 documentation [1] we are using -compat=5, which is the default. Also, according to [1], -feature=nortti can only be used in compat mode 4. So I'm afraid we have no choice :) Regards, Volker https://docs.ora

Re: RTTI on Solaris/SPARC builds

2017-02-23 Thread David Holmes
On 24/02/2017 8:10 AM, Ioi Lam wrote: I noticed that on Solaris/SPARC, RTTI is enabled in the JVM build. Is there any reason for it? Just curious. Probably accidental due to default compiler settings. AFAIK we do not use any C++ RTTI in hotspot and it should not be enabled. David - Thi

RTTI on Solaris/SPARC builds

2017-02-23 Thread Ioi Lam
I noticed that on Solaris/SPARC, RTTI is enabled in the JVM build. Is there any reason for it? Just curious. This is what I got in dbx when looking at the first slot of a C++ vtable: (dbx) print *(int**)(0xfffefa20bdd0) *((int **) 18446744069316066768U) = 0xfffef9de5b78 (dbx) dis 0x