Hacker News new | ask | show | jobs
by slifin 2094 days ago
Does this mean we'll be able to use VisualVM or Chrome's inbuilt debugger with PHP? The same way other GraalVM languages can?

Also I assume the polyglot and native image features of GraalVM will work?

2 comments

VisualVM and JVM reflection/introspection depend on HotSpot, and on GC safepoints, and so on.

GraalVM uses its own GC, and has some limitations: https://github.com/oracle/graal/blob/master/substratevm/Limi... (basically it needs to statically know what will be accessed via reflection, so it can add those to the native-image).

In theory, sure it can be made to work with VisualVM. But I'd be surprised if it works out of the box.

Either they work or they should be relatively easy to add.