RFR: 6543126: Level.known can leak memory
Peter Levart
peter.levart at gmail.com
Wed Aug 17 11:37:43 UTC 2016
On 08/17/2016 01:20 PM, Peter Levart wrote:
> You could use a ClassLoaderValue for this purpose, like in the
> following addition to your patch (see KnownLevel.add):
>
> http://cr.openjdk.java.net/~plevart/jdk9-dev/Level.known/webrev.01/
Note that the above also contains the functional-style findLevel and
parse implementations which you would probably want to leave out...
Regards, Peter
More information about the core-libs-dev
mailing list