Symbol reference and the direct reference

  • Symbolic references: at compile time, java class does not know the actual address of the referenced class, you can only use symbolic references instead. For example org.simple.People class references org.simple.Language class, the class at compile time People do not know the actual memory address Language class, it can only use the symbol org.simple.Language (assuming that this is, of course, practice is ) is represented by the constant address Language classes similar to CONSTANT_Class_info be represented.

  • Direct quote: direct reference can be directly to the destination pointer

Guess you like

Origin www.cnblogs.com/lcx20190724xxz/p/11237196.html