RFR (XS): 8151623: Zap freed Metaspace chunks in non-product binaries
dean.long at oracle.com
Thu Mar 10 19:43:51 UTC 2016
This looks good. I was experimenting with a similar change. The
comment nearby saying
"Do not mangle freed Metachunks" made me wonder if it was safe. Could
you update the
comment if this is indeed safe? Also, is there a Zap<something> flag we
can use to turn
this off and on?
On 3/10/2016 10:55 AM, Vladimir Ivanov wrote:
> 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.
> Best regards,
> Vladimir Ivanov
More information about the hotspot-dev