RFR(xxs): 8185034: Cleanup and consolidate Metaspace coding
Thomas Stüfe
thomas.stuefe at gmail.com
Sat May 5 19:58:36 UTC 2018
Hi all,
May I get reviews please?
Bug: https://bugs.openjdk.java.net/browse/JDK-8185034
Webrev: http://cr.openjdk.java.net/~stuefe/webrevs/8185034-cleanup-and-consolidate-metaspace-coding/webrev.00/webrev/
Despite the title this item is quite unexciting.
Most of the cleanups originally targeted by this item did already
happen as part of other enhancements
(https://bugs.openjdk.java.net/browse/JDK-8199430,
https://bugs.openjdk.java.net/browse/JDK-8202638).
What is left are some smallish cleanups:
- removed some functions which were unused
- small changes to ~SpaceManager to avoid logging the same info twice
(chunk manager state)
- removed all LogStream::cr() calls which were needed because
~LogStream() did not autoflush; but 8202303 did fix that, so the cr()
can go.
Note that there are more things one could clean up, which may happen
in the future. Especially the split-up of metaspace.cpp, which is
still open (https://bugs.openjdk.java.net/browse/JDK-8176808). But for
now I would like to close this particular issue.
Thanks!
..Thomas
More information about the hotspot-runtime-dev
mailing list