JDK-8264063 : Outer Safepoint poll load should not reference the head of inner strip mined loop.
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-03-23
  • Updated: 2024-02-06
  • Resolved: 2021-04-08
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 17
17 b18Fixed
Related Reports
Relates :  
Relates :  
Description
Enhancement JDK-8247307 "C2: Loop array fill stub routines are not called" introduced new code which checks for special condition in strip-mined counted loops when inner CountedLoopNode may be used by the address polling node of the outer safepoint.
After that we hit JDK-8263352 issue in this new code.

But the actual issue is that we don't need JDK-8247307 optimization because outer Safepoint poll load should not reference inner CountedLoopNode.

Roland suggested next change to fix it. See his comment in https://github.com/openjdk/jdk/pull/3061





Comments
Changeset: 81d35e43 Author: Vladimir Kozlov <kvn@openjdk.org> Date: 2021-04-08 15:04:38 +0000 URL: https://git.openjdk.java.net/jdk/commit/81d35e43
08-04-2021