RFR(S): 8223575: add subspace transitions to gc+metaspace=info log lines

Stefan Karlsson stefan.karlsson at oracle.com
Wed May 8 18:58:54 UTC 2019


Hi Tony,

On 2019-05-08 18:08, Tony Printezis wrote:
> BTW, I got the results back from jdk/submit and it failed to build on 
> three platforms. Is there a way to find out what the issue is? All I 
> know is “return value: 2”.

I don't know of a way for external contributors to see the logs from the 
submit repo builds.

It seems like your failure happened because of a mismatch between the 
changeset your patch is based on and Oracle's closed build bits. I think 
a rebase will fix it.

StefanK

>
> Thanks,
>
> Tony
>
>
> —————
> Tony Printezis | @TonyPrintezis | tprintezis at twitter.com 
> <mailto:tprintezis at twitter.com>
>
>
> On May 8, 2019 at 10:20:18 AM, Tony Printezis (tprintezis at twitter.com 
> <mailto:tprintezis at twitter.com>) wrote:
>
>> Any chance of someone taking a look at this?
>>
>> http://cr.openjdk.java.net/~tonyp/8223575/webrev.0/
>>
>> As I said on the JIRA, users can be confused when they metaspace 
>> capacity shows as over 1G even though they asked for 128M. Breaking 
>> down the spaces, when coops are enabled, can address this confusion 
>> (and having the actual occupancy of each space separately is also a 
>> lot more informative and avoids guesswork). The output looks like 
>> this when coops are enabled:
>>
>> [10.090s][info][gc,metaspace     ] GC(8) Metaspace: 
>> 2130K->2130K(1056768K) ClassMetadata: 1906K->1906K(8192K) ClassSpace: 
>> 223K->223K(1048576K)
>>
>>
>> and like this (i.e., what it was before the change) when coops are 
>> not enabled:
>>
>> [25.767s][info][gc,metaspace     ] GC(28) Metaspace: 8107K->8107K(10240K)
>>
>>
>> A couple of notes on the changes:
>>
>> - I’m open to different suggestions for what to call ClassMetadata 
>> and ClassSpace. :-)
>> - I didn’t know where to put the HEAP_CHANGE_FORMAT and 
>> HEAP_CHANGE_FORMAT_ARGS macros, so that they can be easily shared, 
>> and I ended up putting them in heap.hpp. Let me know if there’s a 
>> better place for them.
>>
>> Tony
>>
>>
>> —————
>> Tony Printezis | @TonyPrintezis | tprintezis at twitter.com 
>> <mailto:tprintezis at twitter.com>
>>




More information about the hotspot-gc-dev mailing list