RFR(s): 8224193: stringStream should not use Resouce Area

Thomas Stüfe thomas.stuefe at gmail.com
Mon May 20 13:25:12 UTC 2019


Hi all,

may I please have reviews for the following bug fix:

issue: https://bugs.openjdk.java.net/browse/JDK-8224193
cr:
http://cr.openjdk.java.net/~stuefe/webrevs/8224193-stringstream-shall-not-use-resource-array/webrev.00/webrev/

In short, stringStream uses resource area which is a poor choice -
depending on the logging we do, this may crash or assert and if it does not
it at least wastes memory.

Note that I kept the change as simple as possible. There are other possible
improvements beside pure code cleanup, for which I opened follow up issues
https://bugs.openjdk.java.net/browse/JDK-8224212 and
https://bugs.openjdk.java.net/browse/JDK-8224213.

Thanks, Thomas


More information about the hotspot-runtime-dev mailing list