JDK-8230520 : Incorrect UnifiedOop::is_narrow assertions
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2019-09-04
  • Updated: 2019-12-04
  • Resolved: 2019-12-04
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 14
14Resolved
Related Reports
Duplicate :  
Relates :  
Description
In edgeUtils.cpp, the file-scoped functions field_offset and array_offset call UnifiedOop::is_narrow on the result of a call to UnifiedOop::decode, in assertions that the value is not narrow. But a decoded result doesn't have the tag information to discriminate between narrow and not narrow. So these assertions will always pass, whether a narrow value is involved in the edge or not.

Comments
We will address this as part of JDK-8235174.
04-12-2019

ILW = MLM = P4
10-09-2019

Not lying to the type system (JDK-8230517) would likely make this obvious.
04-09-2019