Comments (6)
Hi, the race condition between the various loggers in HotSpot is a known bug, filed as issue #3. I hope to speak to the HotSpot team about that.
Have you mounted any jars or class folders in the config? If nothing from the log could be classloaded that could explain the blank GUI. If not, could you email me your hotspot.log to [email protected] and I'll take a look?
from jitwatch.
Jars: of course.
RTFM :( I debugged through the code when I wondered why it expected XML tags and my log didn't contain any. I actually piped stdout to a file rather than using the generated hotspot.log. My bad, sorry! This is actually mentioned in the Wiki but maybe to make it even more fool-proof let the file open dialog filter for "hotspot.log" or show a warning if a different file name is selected.
from jitwatch.
No problem, thanks for trying it out! I'll put in some code to display a warning if the opened file isn't recognised as a hotspot log.
from jitwatch.
So, here's my suggestion:
FileChooser fc = new FileChooser();
fc.setTitle("Choose HotSpot log file");
fc.getExtensionFilters().addAll(
new FileChooser.ExtensionFilter("HotSpot Log File", "hotspot.log"),
new FileChooser.ExtensionFilter("All Files", "*")
);
from jitwatch.
That code works fine for Linux but there appears to be a bug in JavaFX on OSX Mavericks on 1.7.0_51 with the extension filter combo missing so you can't select anything other than the first filter. Have submitted a JIRA issue and will wait until response before committing this. Thanks :)
from jitwatch.
Added FilerChooser.ExtensionFilter except on OSX where there is a JavaFX bug with the filter combo not appearing. Got a response to my JIRA ticket that it won't be fixed in JavaFX2.2 (works in JavaFX8)
from jitwatch.
Related Issues (20)
- VM is null null HOT 2
- how to set config for openjdk built by source files HOT 11
- I can't see the assembly instructions. HOT 2
- Fix gradle build to find FreeLogJ HOT 1
- Fix code cache visualisation since segmented code cache
- Fix auxiliary scripts which assume local lib folder HOT 1
- hsdis download failed on x86 mac HOT 2
- JITWatch shows garbled characters HOT 5
- After the SpringBoot project adds source and class to the config, the following error occurs when you click start HOT 5
- NPE occured from Tag.getAttributes() HOT 3
- The button in the tool is garbled HOT 2
- NPE on "Chain" button HOT 11
- java.lang.VerifyError: Cannot inherit from final class HOT 2
- compile ok but see nothing
- Unable to see source code for project classes as well as java lang classes HOT 11
- Gradle build is broken. HOT 2
- Add compilation flags HOT 3
- Add JMH in Sandbox HOT 1
- Any plans to support the Vector API? HOT 4
- tableswitch and Method size HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jitwatch.