CDS and JVM-TI agent questions and crash
Jiangli Zhou
jiangli.zhou at oracle.com
Mon Oct 15 22:35:54 UTC 2018
On 10/15/18 3:30 PM, Michael Rasmussen wrote:
>> One simple alternative fix is to disable sharing when some events (like
>> CFLH) were enabled. This in fact was the behavior before JDK 9. In JDK
>> 9, we enabled CDS for debugging. Looks like there are corner cases that
>> are not uncovered by our testing. I'd like to seek opinions and feedback
>> on the importance of supporting debugging with CDS enabled.
> Or at least CFLH together with can_generate_all_class_hook_events and can_generate_early_class_hook_events capabilities.
>
> CDS hasn't been part of our own testing scenarios so far, which is why we haven't notice these issues on our end before now.
> We only just discovered it because of user reports about crashes, which turned out to be because the java-11-openjdk package on Fedora comes with pre-generated CDS archive.
>
> But especially with JEP 341 just around the corner, it makes it very important to find and weed out these bugs now!
Totally agree. These issues are now more important with the default CDS
archive. Thanks for reporting them!
Best regards,
Jiangli
>
> /Michael
More information about the hotspot-dev
mailing list