stokito / IdeaJol

Intellij plugin that shows an object layout in memory to help optimize it. Uses OpenJDK JOL tool
https://plugins.jetbrains.com/plugin/10953-java-object-layout
Apache License 2.0
138 stars 9 forks source link

MOAR LAYOUTS!!11 #13

Open stokito opened 6 years ago

stokito commented 6 years ago

JOL supports three layouts: Raw, HotSpot and Current. Current is very useful in run-time but for static analyze we can't use use it. But it will be interesting to see the layout for those VM, especially for OpenJ9 and JamVM. I asked about OpenJ9 layout on SO but it looks like I should investigate this myself

stokito commented 6 years ago

Also one of the most important layouts is Android's JVM I found something about this https://stackoverflow.com/questions/14738786/how-are-java-objects-laid-out-in-memory-on-android