AdoptOpenJDK / jitwatch

Log analyser / visualiser for Java HotSpot JIT compiler. Inspect inlining decisions, hot methods, bytecode, and assembly. View results in the JavaFX user interface.
Other
3.08k stars 438 forks source link

Outdated Binaries #324

Closed deaddowney closed 4 years ago

deaddowney commented 4 years ago

I'm trying to use Jitwatch against a Java 11 application and am running into the -XX:+TraceClassLoading issue that others have reported. Turns out I was using an old version of Jitwatch (1.0.0) that was referred to by the wiki. I went to mvn central and found the latest there was jitwatch-ui:1.1.5 from 2018. I've run that and still see the same issue. I've tried to download the latest build from CI as mentioned on the wiki but get a 521 error code for http://chriswhocodes.com:8080/

I am currently firewalled off from getting the source and building myself. Is there an alternative place to get the current build that works with Java 11?

chriswhocodes commented 4 years ago

Hi, I discontinued my Jenkins CI a long time ago as it's a security nightmare. The maven artifacts are also out of date because I don't need that maven central pain in my life! I'll see if I can produce a shaded jar containing the (few) libs it uses and upload that to chriswhocodes.com

deaddowney commented 4 years ago

Thanks Chris! Just out of curiosity, have you tried a Mvn central alternative, like BinTray or used the Releases feature in Github to host the binaries?

chriswhocodes commented 4 years ago

I think GitHub releases makes sense. It's a desktop app (for most people) not a library so maven central isn't really the right place imo.

Do you need a build that contains JavaFX libs?

deaddowney commented 4 years ago

No, I have the JavaFX libs. Just the equivalent to whatever was in Mvn Central should be fine.

chriswhocodes commented 4 years ago

Let me know if this works for you? https://chriswhocodes.com/jitwatch-ui-shaded.jar

It contains JavaFX until I work out how to make a build without it.

run with java -jar jitwatch-ui-shaded.jar

The sandbox won't work until I fix some path assumptions.

deaddowney commented 4 years ago

@chriswhocodes Awesome job! Works now! Thank you!!

chriswhocodes commented 4 years ago

Cool, glad it worked. I'll clean up the wiki and make a page on my blog for binaries.