Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Could ObjectSizeCalculator.java supported in other JVMs besides HotSpot-JVM? #484

Open
leesf opened this issue Sep 9, 2019 · 3 comments

Comments

@leesf
Copy link

leesf commented Sep 9, 2019

Now ObjectSizeCalculator.java could not work in other JVMs, such as IBM JVM, see here, are there any solutions or sugguestions to implement a new one in other JVMs? Thanks

@DavisBroda
Copy link

For the IBM JVM specifically, watch out for packed objects, which remove object headers entirely for some objects. Likely complicates the memory model a bit.

https://www.ibm.com/support/knowledgecenter/SSYKE2_7.1.0/com.ibm.java.lnx.71.doc/user/packed_developing.html

@DanHeidinga
Copy link

PackedObject support was a tech preview feature that has been removed from the JVM. No need to worry about it as it's never been supported.

@vinothchandar
Copy link

Wondering if its easy to extend support for IBM JVM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants