RFR 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'

Frederic Parain frederic.parain at oracle.com
Thu Mar 19 11:20:16 UTC 2015


Jaroslav,

src/share/vm/services/diagnosticCommand.cpp

   No comments

src/share/vm/services/diagnosticCommand.hpp

   Why adding #include "services/attachListener.hpp" ?

test/serviceability/dcmd/jvmti/DataDumpDcmdTest.java
test/serviceability/dcmd/vm/SetVMFlagTest.java

   I don't know the new test framework, so I cannot
   comment on these files.

Regards,

Fred

On 03/19/2015 10:59 AM, Jaroslav Bachorik wrote:
> Please, review the following change
>
> Issue : https://bugs.openjdk.java.net/browse/JDK-8054890
> Webrev: http://cr.openjdk.java.net/~jbachorik/8054890/webrev.00
>
> This patch is about adding 2 new diagnostic commands - VM.set_flag and
> JVMTI.data_dump.
>
> VM.set_flag allows to set any writeable flag. It takes the flag name and
> the flag value in textual form. The mutability of the flag and the value
> format checks are forwarded to the shared vm management code.
>
> JVMTI.data_dump will send the data dump request to JVMTI.
>
> Both of these commands are covered by the corresponding tests.
>
> Thanks,
>
> -JB-

-- 
Frederic Parain - Oracle
Grenoble Engineering Center - France
Phone: +33 4 76 18 81 17
Email: Frederic.Parain at oracle.com


More information about the serviceability-dev mailing list