JDK-8258619 : -XX:CompileCommand=blackhole,* should only accept empty static methods
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2020-12-17
  • Updated: 2021-01-06
  • Resolved: 2021-01-06
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 16
16Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
In JDK-8257827 CSR, a further comment was raised about changing the semantics of the method. This allegedly introduces the conformance problem. While it is still an open question where the conformance problem is real, we can sidestep the entire issue by allowing only empty static methods to be blackholed. This eliminates any behavioral difference: empty methods have no side effects, and static methods do not need any null checks.

JMH changes are done in CODETOOLS-7902813.
Comments
Okay. From the discussion in JDK-8257827 it looks like as if it has been decided now to backout the change. Can we close this as duplicate of JDK-8258558?
06-01-2021

JDK-8258558 reverts blackhole support, so once that lands, this would not longer be an issue.
05-01-2021

ILW = Conformance issue, with compile command, disable compile command = HMM = P2
18-12-2020