A question about klassOop pointer in oopDesc.hpp

View: New views
1 Messages — Rating Filter:   Alert me  

A question about klassOop pointer in oopDesc.hpp

by Colin(Du Li) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

There is "klassOop _klass" in oopDesc to store the address of class template for every object.
I try to print out the value of "_klass". I find the last four bits for _klass is always zero(like 7e7a0dd0, 7e7a0e50, 7e7a0e50).
Is my observation incomplete?
If no, what does this mean?
Does this mean the size of klassOop object is as large as 16 bytes (seems kind of unreasonable..)?

Thanks a lot!

Colin