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

Clean up vtable initialization code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b26

      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)

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

              Created:
              Updated:
              Resolved: