JDK-8151956 : CodeBlob ctor virtual call on partially constructed subclass
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-03-16
  • Updated: 2017-01-02
  • Resolved: 2016-04-27
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 10 JDK 9
10Resolved 9Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
The CodeBlob constructor makes calls that can trigger virtual calls on the partially-constructed subclass object.  For example is_nmethod() will return false intially, but true after we finish the subclass constructor.
Comments
Closing this as the BugID is already used in the commit history. Filed an new bug for this issue. JDK-8155228.
27-04-2016

ILW = incorrect vm state leading to data loss, which may lead to crashes; does not happen now; none = MLH = P4
13-04-2016

ILW=LLH=P5
16-03-2016

Hi Dean, thank you for drawing attention to this problem! I'll assign the issue to you (at least for now), as you have probably the most insight into this problem at the moment. Best regards, Zoltan
16-03-2016