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

Class field layout code cleanup, phase 2

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • hs25
    • hotspot
    • None

      See ClassFileParser::layout_fields.

      Things to take care of:

      1. contended_count is redundant, duplicates nonstatic_contended_count
      2. nonstatic_oop_maps + 1: is +1 still needed/redundant?
      3. parsed_annotations->is_contended() should use local var
      4. current code allocates distinct oopmap per contended field, can group some fields together
      5. figure out if we can split the method into the digestible pieces
      6.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: