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

Clean up vtable initialization code

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: