[9] RFR (XS): 8151623: Zap freed Metaspace chunks in non-product binaries
Jon Masamitsu
jon.masamitsu at oracle.com
Thu Mar 10 21:40:19 UTC 2016
Vladimir,
http://cr.openjdk.java.net/~vlivanov/8151623/webrev.00/src/share/vm/memory/metachunk.cpp.frames.html
Did you consider adding the "wordValue" parameter
101 static void overwrite_chunk_payload(Metachunk* chunk, juint wordValue) {
to the original Metachunk::mangle() so that it becomes
101 void Metachunk::mangle(juint wordValue) { ... 106
Copy::fill_to_words(start, size, wordValue);
Jon
On 03/10/2016 10:55 AM, Vladimir Ivanov wrote:
> http://cr.openjdk.java.net/~vlivanov/8151623/webrev.00
> https://bugs.openjdk.java.net/browse/JDK-8151623
>
> Zap freed Metaspace chunks in non-product binaries to catch stray
> accesses to unloaded classes.
>
> Testing: JPRT, RBT (in progress): hotspot/test:hotspot_all,
> jdk/test:tier1 & tier2, vm.parallel_class_loading.testlist,
> vm.gc.testlist, BigApps w/ fastdebug binaries.
>
> Thanks!
>
> Best regards,
> Vladimir Ivanov
More information about the hotspot-dev
mailing list