Please, review the JVM TI spec one-liner fix below.

The jvmti.xml patch:

diff -r 888f37103953 src/share/vm/prims/jvmti.xml
--- a/src/share/vm/prims/jvmti.xml    Wed Apr 27 11:25:16 2016 +0200
+++ b/src/share/vm/prims/jvmti.xml    Thu Apr 28 02:24:09 2016 -0700
@@ -6482,6 +6482,7 @@
       <synopsis>Get All Modules</synopsis>
       <description>
     Return an array of all modules loaded in the virtual machine.
+        This includes the unnamed module for each class loader.
     The number of modules in the array is returned via
     <code>module_count_ptr</code>, and the array itself via
     <code>modules_ptr</code>.


Summary:

The GetAllModules function returns all modules in the VM, this includes the unnamed module for each class loader. The JVM TI spec should make this clear.


Testing:
  No testing is necessary.


Thanks,
Serguei

Reply via email to