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

FieldAllocationCount is mostly unused

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • b15

      In ClassFileParser, FieldAllocationCount and its associated FieldAllocation may have been previously used for the field layout code, but it is not used for that anymore. The only use is to update the number of static oops:

        ik->set_static_oop_field_count(_fac->count[STATIC_OOP]);

      We could just count those and remove thiis code.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: