JDK-8284198 : Undo JDK-8261137: Optimization of Box nodes in uncommon_trap
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,18,19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2022-04-02
  • Updated: 2022-04-28
  • Resolved: 2022-04-11
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 19
19 b18Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
JDK-8261137 introduced a regression and has been disabled by JDK-8276112. Better to revert the changes of the optimization instead of letting the dead-code decay. 
Comments
OK, let's backport this patch when it is needed in the future. I'll close those two backport PR.
28-04-2022

Fix Request 17u Backporting this patch avoids dead-code decay. Patch applies cleanly to 17u. tier1 tests on linux-x86 pass with the patch.
27-04-2022

Fix Request 18u Backporting this patch avoids dead-code decay. Patch applies cleanly to 18u. tier1 tests on linux-x86 pass with the patch.
27-04-2022

Hi @wuyan34, such cleanups, especially in critical code like this, are not a good candidate for backports. There might be special reasons, e.g. a necessary fix that fits better after a cleanup, but in general we want to avoid such backports. Thanks.
27-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk17u-dev/pull/368 Date: 2022-04-26 13:42:03 +0000
26-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk18u/pull/107 Date: 2022-04-25 11:58:56 +0000
25-04-2022

Changeset: 0c04bf8e Author: Wu Yan <wuyan@openjdk.org> Committer: Fei Yang <fyang@openjdk.org> Date: 2022-04-11 06:23:09 +0000 URL: https://git.openjdk.java.net/jdk/commit/0c04bf8e5944471992b2f6efc7f93b5943508947
11-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8083 Date: 2022-04-03 04:14:14 +0000
03-04-2022