RFR: 8023476: Metaspace capacity > reserved
harold.seigel at oracle.com
Wed Sep 11 09:08:54 PDT 2013
Your changes look good.
On 9/11/2013 11:41 AM, Stefan Karlsson wrote:
> On 09/11/2013 05:18 PM, Erik Helin wrote:
>> Hi all,
>> this change is a first step to clean up the usage of words and bytes in
>> metaspace.cpp/hpp. The change includes:
>> - Appending function names with the unit of the size they return. All
>> functions in MetaspaceAux returning bytes are now ending in _bytes
>> functions returning words ends in _words.
>> - Appending function that iterates over the ClassLoaderDataGraph with
>> _slow. These functions have also been made private since they should
>> only be used internally for verification purposes.
>> - Removing the function Metaspace::waste_bytes which isn't used
>> - Making sure MetaspaceAux::reserved_bytes actually returns bytes
>> instead of words.
> Looks good.
>> - JPRT
>> - hotspot/test/gc/metaspace
More information about the hotspot-dev