RFR (XS): hs_err prints "ERROR in GC mode" instead of "Shenandoah"

Aleksey Shipilev shade at redhat.com
Mon Sep 19 09:11:21 UTC 2016


Turns out, I don't have the push rights into the Shenandoah forest yet.
This is the changeset, please push:
  http://cr.openjdk.java.net/~shade/shenandoah/vmerror-1.changeset

Thanks,
-Aleksey

On 09/19/2016 10:13 AM, Roman Kennke wrote:
> Patch is fine, and yes, trivial stuff may be committed without review at your judgement ;-)
> 
> Cheers, Roman
> 
> Am 19.09.2016 9:04 vorm. schrieb Aleksey Shipilev <shade at redhat.com>:
>>
>> Ping? 
>>
>> I should probably push these trivialities without review? 
>>
>> -Aleksey 
>>
>> On 09/14/2016 05:51 PM, Aleksey Shipilev wrote: 
>>> Hi there, 
>>>
>>> hs_err prints this for Shenandoah crashes: 
>>>
>>> # Java VM: OpenJDK 64-Bit Server VM 
>>> (9-internal+0-2016-09-14-171552.shade.shenandoah-jdk9, mixed mode, 
>>> tiered, ERROR in GC mode, linux-amd64) 
>>>
>>> Trivial fix: 
>>>
>>> diff -r 4f031b39d689 src/share/vm/utilities/vmError.cpp 
>>> --- a/src/share/vm/utilities/vmError.cpp Wed Sep 14 10:22:37 2016 +0200 
>>> +++ b/src/share/vm/utilities/vmError.cpp Wed Sep 14 18:50:37 2016 +0300 
>>> @@ -246,6 +246,7 @@ 
>>>     if (UseParallelGC)      return "parallel gc"; 
>>>     if (UseConcMarkSweepGC) return "concurrent mark sweep gc"; 
>>>     if (UseSerialGC)        return "serial gc"; 
>>> +  if (UseShenandoahGC)    return "Shenandoah gc"; 
>>>     return "ERROR in GC mode"; 
>>>   } 
>>>
>>> Okay to push? 
>>>
>>> Thanks, 
>>> -Aleksey 
>>>
>>



More information about the shenandoah-dev mailing list