CDS and JVM-TI agent questions and crash
Volker Simonis
volker.simonis at gmail.com
Thu Oct 18 16:33:25 UTC 2018
On Tue, Oct 16, 2018 at 12:30 AM Michael Rasmussen
<Michael.Rasmussen at roguewave.com> 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!
>
@Michael: just wondering if it is possible to redefine
j.l.Object/j.l.String/etc. later on after startup has been completed
with the help of RedefineClass. Have you tried or woudln't this be
useful for you anyway?
Thanks,
Volker
> /Michael
More information about the hotspot-dev
mailing list