Re: OpenJDK 8 and fastdebug

Remi Forax forax at univ-mlv.fr
Fri Apr 20 02:18:33 PDT 2012


Just hsdis, but maybe the one from Graal that use a better assembler syntax.

Rémi

Sent from my Phone

----- Reply message -----
From: "Krystal Mok" <rednaxelafx at gmail.com>
To: "Remi Forax" <forax at univ-mlv.fr>
Cc: <jdk8-dev at openjdk.java.net>
Subject: OpenJDK 8 and fastdebug
Date: Fri, Apr 20, 2012 09:44
I see. That makes sense.BTW, is it hsdis, or is there a new disassembler plugin?

- Kris

On Fri, Apr 20, 2012 at 3:35 PM, Remi Forax <forax at univ-mlv.fr> wrote:

The idea is to bundle jadis with the fast debug VM.

Rémi

Sent from my Phone


----- Reply message -----
From: "Krystal Mok" <rednaxelafx at gmail.com>
To: "Rémi Forax" <forax at univ-mlv.fr>

Cc: <jdk8-dev at openjdk.java.net>
Subject: OpenJDK 8 and fastdebug
Date: Fri, Apr 20, 2012 08:55


PrintAssembly is available in product builds, too. You'll just need to set -XX:+UnlockDiagnosticVMOptions before setting -XX:+PrintAssembly.

On the other hand, -XX:+PrintOptoAssembly is only available in a debug build.

- Kris

On Fri, Apr 20, 2012 at 2:00 PM, Rémi Forax <forax at univ-mlv.fr> wrote:


On 04/20/2012 07:28 AM, Henri Gomez wrote:


Just set



SKIP_FASTDEBUG_BUILD=false



(I don't know what role DEBUG_NAME plays)






Relative question, how can I check a java exec is in fastdebug mode ?




Check "java -version", it will show it is fastdebug.


It seems good (http://openjdk-osx-build.googlecode.com/files/OpenJDK-OSX-8-x64-lambda-fastdebug-jdk-b30-20120420.dmg)





openjdk version "1.8.0-jdk8-b30-x64-lambda-fastdebug"

OpenJDK Runtime Environment (build 1.8.0-jdk8-b30-x64-lambda-fastdebug-20120420)

OpenJDK 64-Bit Server VM (build 24.0-b04, mixed mode)



Thanks




Many thanks, Henry,

now people can use -XX:+PrintAssembly :)



Rémi


More information about the jdk8-dev mailing list