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

Clean up vtable initialization code

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b26

      Description

      I was looking through this code because of JDK-8061949 and want to do some minor cleanups.
      1. There's a function in the wrong place (is_override)
      2. methodHandles that use mh()->is_native(), with extra (),
      3. some methods declared with TRAPS, that don't trap
      4. some multi-clause conditionals with confusing formatting
      5. extra InstanceKlass::cast() casts
      6. some useless asserts
      7. and potentially a bug with RedefineClasses where the method being added to the vtable may have been redefined in the constraint verification call. (noreg-hard)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: