java.lang.management uses a -D flag.
java.lang.instrument uses the -javaagent flag.
###@###.### 10/4/04 17:32 GMT
Comments
EVALUATION
Consistency and interoperability are important. A unified mechanism should be provided.
###@###.### 10/4/04 17:32 GMT
As part of the attach-on-demand work (6173612) we are looking to support java agents with a Premain-Class that has a premain(String) signature. This should provide a mechanism to load the management agent via -javaagent or have it loaded dynamically.
###@###.### 11/3/04 11:28 GMT
As part of 6173612 the -javaagent option has been updated to look for premain signature of premain(String) if premain(String, Instrumentation) is not found. I am therefore closing this RFE.
###@###.### 2005-05-23 08:16:21 GMT