RFR (M): 8016749: -XX:+UseISM fails an assert(obj->is_oop()) when running SPECjbb2005

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Jul 1 19:28:36 PDT 2013


Albert,

I don't think it is incorrect changes. Only UseISM is deprecated. We 
still use MPSS for large pages:

// UseLargePages UseMPSS UseISM
//     true      true     false => JVM will use MPSS for large page memory.
//                                 This is the default behavior.

//     true      false    false => Unless future Solaris provides other
//                                 mechanism to use large page memory, this
//                                 combination is equivalent to 
-UseLargePages,
//                                 VM will not use large page memory


UseMPSS is true by default and most likely it will not work without it. 
So you should leave current functionality but replace UseMPSS with 
UseLargePages flag checks in os_solaris.cpp.

Also verify that large pages are used by java (pmap -xs) after your changes.

thanks,
Vladimir

On 7/1/13 8:35 AM, Albert Noll wrote:
> Hi,
>
> thanks for reviewing this patch:
>
> jbs: https://jbs.oracle.com/bugs/browse/JDK-8016749
> webrev: http://cr.openjdk.java.net/~anoll/8016749/webrev.00/
> <http://cr.openjdk.java.net/%7Eanoll/8016749/webrev.00/>
>
> Problem: ISM and MPSS are part of Solaris 9, and we do not support this
> version of Solaris anymore. Instead, we use LargePages for Solaris 10+.
>
> Solution: Remove all code that relates to ISM and MPSS (i.e., code that
> relates to the 'UseISM' and 'UseMPSS' flags).
>
> Testing: the following jprt run passes successfully.
>
> jprt submit -stree . -ot 'solaris.*' -emailalbert.noll at oracle.com
>
> Best,
> Albert


More information about the hotspot-compiler-dev mailing list