Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-58574] Add SVM interpreter and JDWP support for Native Image #10344

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented Dec 18, 2024

New option to enable JDWP support for an image: -H:+JDWP.
The JDWP implementation is split into two parts in order to reduce application image size.

  • svm.interpreter: Adds a Java bytecode interpreter to SVM, origins from Espresso.
  • jdwp.resident: Part of the JDWP implementation that lives in an application image.
  • jdwp.server: Part of JDWP that handles the communication to a debugger. Can run either as native-image (libsvmjdwp) or on HotSpot (development only).
  • jdwp.common: Shared bits.

New option to enable JDWP support for an image: -H:+JDWP.
The JDWP implementation is split into two parts in order to reduce application image size.

- svm.interpreter: Adds a Java bytecode interpreter to SVM, origins from Espresso.
- jdwp.resident: Part of the JDWP implementation that lives in an application image.
- jdwp.server: Part of JDWP that handles the communication to a debugger. Can run either as native-image (libsvmjdwp) or on HotSpot (development only).
- jdwp.common: Shared bits.

Co-authored-by: Alfonso² Peterssen <[email protected]>
Co-authored-by: Martin Entlicher <[email protected]>
Mentored-by: Gilles Duboscq <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 18, 2024
@graalvmbot graalvmbot merged commit d14b835 into master Dec 20, 2024
12 of 13 checks passed
@graalvmbot graalvmbot deleted the buf/GR-58574-interp-move branch December 20, 2024 03:33
@He-Pin
Copy link

He-Pin commented Jan 18, 2025

Finally have this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants