RFR: 8311514: Incorrect regex in TestMetaSpaceLog.java
Daohan Qu
dqu at openjdk.org
Thu Jul 6 10:38:57 UTC 2023
On Thu, 6 Jul 2023 10:05:02 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Good catch. But is this guaranteed to always be in K?
Hi Thomas! That's a good question and I believe the answer is yes.
This message is printed here in the function `MetaspaceUtils::print_metaspace_change()`:
https://github.com/openjdk/jdk/blob/356067d03f964fd0f24a055cfd772e27c8939812/src/hotspot/share/memory/metaspace.cpp#L163-L189
And the definition of macros `HEAP_CHANGE_FORMAT` and `HEAP_CHANGE_FORMAT_ARGS` is:
https://github.com/openjdk/jdk/blob/356067d03f964fd0f24a055cfd772e27c8939812/src/hotspot/share/utilities/globalDefinitions.hpp#L412-L417
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14782#issuecomment-1623439546
More information about the hotspot-gc-dev
mailing list