Accepting jdwp connection early enough to debug Graal startup with -Xcomp

Gary Frost frost.gary at
Wed Aug 28 13:37:42 UTC 2019

Thanks Alan and Doug for the feedback

Sounds like libgraal is intended to be a precompiled (AOT?) binary library
formed by  'closing' over the Graal module?

If so will it still allow Java plugins to be dynamically loaded?

In my case I can work around (removing -Xcomp helps a lot)

Just trying to get my head around the debug story for people writing


On Wed, Aug 28, 2019 at 2:08 PM Alan Bateman <Alan.Bateman at>

> On 28/08/2019 13:35, Doug Simon wrote:
> > Alan,
> >
> > Thanks a lot for the input.
> >
> > My only further comment is that with libgraal, the whole JDWP question
> is irrelevant as Graal will not be running as Java code (from HotSpot’s
> perspective).
> >
> Sure but my point is that it might be possible to queue compilations
> earlier in the startup when the compiler is precompiled. That is, I
> thought Gary's mail was about debugging the compiler which I assume will
> need a solution when compiled to libgraal.
> -Alan

More information about the graal-dev mailing list