RFR: 8170812: Metaspace corruption caused by incorrect memory size for MethodCounters
    Andrew Haley 
    aph at redhat.com
       
    Thu Apr  6 08:31:39 UTC 2017
    
    
  
On 06/04/17 02:31, Kim Barrett wrote:
>> On Apr 5, 2017, at 11:13 AM, Andrew Haley <aph at redhat.com> wrote:
>>
>> If sizeof (MethodCounters) is not a multiple of wordSize, memory
>> allocator metadata is corrupted, causing the VM to become unstable and
>> eventually crash.
>>
>> I've applied for a JDK9 fix request.  I'll need a sponsor.
>>
>> Andrew.
> 
>  It looks like it might require a fairly specific set of build options, but yikes!
> 
> Change looks good.
Yikes indeed.  :-)
Webrev at http://cr.openjdk.java.net/~aph/8170812/.
Thanks,
Andrew.
    
    
More information about the hotspot-dev
mailing list