Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8021948

Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • hs25
    • hs25
    • embedded
    • None
    • b47

        The InstanceKlass::source_file_name points to the source file name symbol (Symbol*). It can be a constant pool index (u2) to the utf8 entry of the source file name instead. The same can be done for InstanceKlass::_generic_signature. Saves 4bytes for each class on 32-bit machine.

              jiangli Jiangli Zhou
              jiangli Jiangli Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: