Alexei Osipov
Alexei Osipov

Reputation: 762

Where to get Fastdebug/Debug build of JDK 8 for Windows?

I want to get a JDK 8 that was built with debug or fastedebug option to investigate a low-level performance-related problem. To be more specific, I want a JDK 8 64-bit build for Windows that supports -XX:+PrintMethodData option.

However I can't find any public debug-enabled JDK build for Windows. Is my only option to take OpenJDK and build it myself?

PS: I don't need a production quality JDK. I just want to get more info from JIT.

PS2: Related links:

https://github.com/alexkasko/openjdk-unofficial-builds - OpenJDK. Only JDK 6 and 7. https://github.com/ojdkbuild/ojdkbuild - OpenJDK 8 but no debug versions.

Upvotes: 6

Views: 3534

Answers (1)

alexkasko
alexkasko

Reputation: 4925

I can't find any public debug-enabled JDK build for Windows.

I added "fastdebug" binaries that match latest "ojdkbuild" release:

Debuginfo there is zipped in .diz files in jre/bin and jre/bin/server directories.

Debug binaries are planned for following "ojdkbuild" builds, but not yet implemented in build scripts, see: https://github.com/ojdkbuild/ojdkbuild/issues/7 , if you'll have any specific requirements about debug symbols - I will appreciate comments there.

Is my only option to take OpenJDK and build it myself?

Building vanilla OpenJDK 8 for Windows is relatively easy, just note that it supports only VS2010 (SDK 7.1) toolchain.

Upvotes: 9

Related Questions