RFR (XS): 8153190 JVMTI GetAllModules should make it clear that it also returns unnamed module
serguei.spitsyn at oracle.com
serguei.spitsyn at oracle.com
Thu Apr 28 09:44:55 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20160428/41b5536c/attachment.html>
More information about the serviceability-dev
mailing list