How does JVM know the address of a class in metaspace?

82 Views Asked by At

I learned that getting the value of a static field uses an offset from the beginning of the class data in the metaspace. (How exactly do static fields work internally?) But how does the jvm know the address of the class in metaspace?

I tried searching but couldn't find any information

0

There are 0 best solutions below