Adjusting Polyglot Sampler to GR-54300 by JaroslavTulach · Pull Request #656 · oracle/visualvm
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 330
Open
JaroslavTulach wants to merge 1 commit intooracle:masterfrom
Open
Adjusting Polyglot Sampler to GR-54300#656
JaroslavTulach wants to merge 1 commit intooracle:masterfrom
Adjusting Polyglot Sampler to GR-54300#656
JaroslavTulach wants to merge 1 commit intooracle:masterfrom
Conversation
Copy link Copy Markdown
Contributor
- There is a problem initializing VisualVM 2.2 Polyglot Sampler with Truffle 25.0.0 when the application is running in module path mode.
- this is caused by GR-54300 changes that modified the
ENGINESfield fromMaptoSetwhich remained unnoticed for a while
Reproduce
- I've created a sample project https://github.com/jtulach/graaljs/tree/GraalJsDemo
- when executed in module path mode:
mvn -Pmodulepath package exec:execthe VisualVM Polyglot Sampler can't connect- everything works in classpath mode
- everything also works when one
--add-opensaccess for the access tofindActiveEnginesmethod...
Fix
This change modifies the Unsafe code of the stagent to be ready for Map as well as Set value being returned from the field.
CCing @tzezula
oracle-contributor-agreement
bot
added
the
OCA Verified
label
Mar 7, 2026JaroslavTulach referenced this pull request in oracle/graal
Mar 7, 2026
JaroslavTulach
mentioned this pull request
5 tasks
Copy link Copy Markdown
Member
thurka
commented
Mar 14, 2026
thurka commented
Mar 14, 2026Could you please file it as a bug? Thanks.
JaroslavTulach
mentioned this pull request
Copy link Copy Markdown
Contributor Author
JaroslavTulach
commented
Mar 14, 2026
JaroslavTulach commented
Mar 14, 2026Could you please file it as a bug? Thanks.
- Cannot initialize Polygot Sampler in
--module-pathmode #657 has just been reported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment