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

Eliminate double iteration of stream in FieldDescriptor reinitialization

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 21, 25
    • hotspot

      This is a partial fix for performance regression covered in https://bugs.openjdk.org/browse/JDK-8352075

      Since FieldDescriptor::reinitialize() looks up FieldInfo calling InstanceKlass::field(int). After https://bugs.openjdk.org/browse/JDK-8292818 this requires an iteration through all class fields while the information is in many cases readily available.

            rvansa Radim Vansa
            rvansa Radim Vansa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: