Question & Answer
Question
This technote explains why IBM® Rational® Application Developer removes the JVM argument "-Djava.compiler=NONE" flag when you launce an IBM WebSphere® Application Server v6.0 application in Debug mode.
Cause
In the WebSphere Application Server, it is possible to change the JVM arguments used during Debugging. You can do so by opening the server's Administration Console and navigating to Servers->Application servers-><server_name>->Additional Properties->Debugging Service->JVM debug arguments. If you edit the JVM arguments to disable JIT execution, you may find that your changes are rolled back after restarting the server.
Answer
When using the Hot Method Replace feature, Rational Application Developer tooling ensures that the Java Virtual Machine flags do not disable the JIT compiler. The JIT compiler is required to be enabled in order to use hot method replacing.
If you need to disable JIT compiling while debugging, you will also need to disable Hot Method Replace by taking the following steps:
1. Open the Server Editor in Rational Application Developer.
2. Deselect Enable hot method replace in debug mode
3. Save the server settings.
4. Restart the server for the new settings to take effect.
5. You can now disable JIT compilation by adding -Djava.compile=NONE
to the Application Server Debug JVM arguments.
See the related technote in the Related information section for further information on other Hot Method Replace limitations.
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21363895