JDK-8272107 : Removal of Unsafe::defineAnonymousClass left a dangling C++ class
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-08-06
  • Updated: 2021-08-16
  • Resolved: 2021-08-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 18
18 masterFixed
Related Reports
Relates :  
Relates :  
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.
Comments
Changeset: 9980b413 Author: Harold Seigel <hseigel@openjdk.org> Date: 2021-08-12 13:56:41 +0000 URL: https://git.openjdk.java.net/jdk/commit/9980b413da47ac7dff74e66aaf12833e48fcce1d
12-08-2021