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

Removal of Unsafe::defineAnonymousClass left a dangling C++ class

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b11

      Description

      The class CPSlot is no longer of service in constantPool.hpp, since the only possible contents of a CPSlot is a Symbol pointer. The constant "_pseudo_bit" is a dead leftover from the days of CP patching.

      I suggest removing CPSlot altogether.

      This appears to be an unintentional leftover from JDK-8243287, since there does not seem to be any email discussion of the status of CPSlot.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hseigel Harold Seigel
              Reporter:
              jrose John Rose
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: