I'm trying to find a class/file with *.cpp
extension which represents any Java object (java.lang.Object
) inside of JVM from sources of openjdk-14.
Namely, I'm interested in structure responsible for monitor release/acquire when we synchronize on an object:
synchronized(obj) { }
As far as I understand synchronization in Java is possible on any object, so the structure I'm looking for must be declared somewhere in the header of java.lang.Object
.