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.09k stars 439 forks source link

Lazy parse assembly #252

Closed chriswhocodes closed 2 years ago

chriswhocodes commented 7 years ago

Currently each block of assembly encountered in a HotSpot log is parsed into JITWatch's assembly object model.

If a lot of assembly is present in the log this can add a significant cost to the log file parse time on slow systems.

Better to store the assembly as text blobs and parse on demand in the TriView.