preliminary RFR: 8049365 - Update JDI and JDWP for modules

serguei.spitsyn at serguei.spitsyn at
Thu Dec 10 08:03:46 UTC 2015

Please, review this initial fix for the Jigsaw Bill milestone task:

Jdk webrev:

Hotspot webrev:


   It is expected that the JDI and JDWP update for modules will have 
several iterations.
   This is the initial one, and it introduces a very minimal functionality.
   The main purpose of this preliminary review is to make sure the JDI 
and JDWP update
   for modules goes in a right direction and has nothing obviously wrong.

   It does not include yet the API's for introspection of the 
ModuleDescriptor, Configuration and Layer.
   There are no convincing use cases for it yet.
   It is still TBD to contact and get more feedback from the NetBeans 
and Eclipse debuggers teams.
   We also could give them our custom build to try.

This fix temporarily adds a VM support for the JDI allModules() as a JNI 
function GetAllModules().
   Any feedback on the Hotspot webrev as to how to implement it better 
is welcome.
   The plan is (as suggested by Alan) to re-implement it on the JVMTI level.

   It is a part of another Jigsaw Bill milestone task:
Update JVM TI for modules


More information about the jigsaw-dev mailing list