JDK-8266191 : Missing aarch64 parts of JDK-8181872(C1: possible overflow when strength reducing integer multiply by constant)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: openjdk8u
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2021-04-28
  • Updated: 2021-05-04
  • Resolved: 2021-04-28
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.
Other
openjdk8u302 b01Fixed
Related Reports
Relates :  
Description
$ make test  TEST=tier1

-------------- Test Summary ------------

Summary: hotspot_tier1
FAILED: compiler/c1/MultiplyByMaxInt.java
FAILED: compiler/tiered/LevelTransitionTest.java
FAILED: runtime/StackGap/testme.sh
FAILED: serviceability/sa/jmap-hashcode/Test8028623.java
TEST STATS: name=hotspot_tier1  run=806  pass=802  fail=4

Summary: langtools_tier1
FAILED: tools/javac/diags/CheckExamples.java
FAILED: tools/javac/VersionOpt.java
TEST STATS: name=langtools_tier1  run=3121  pass=3119  fail=2

Summary: jdk_tier1
FAILED: java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
FAILED: java/util/concurrent/BlockingQueue/MultipleProducersSingleConsumerLoops.java
FAILED: java/util/concurrent/BlockingQueue/ProducerConsumerLoops.java
FAILED: java/util/concurrent/ConcurrentQueues/ConcurrentQueueLoops.java
FAILED: java/util/concurrent/Exchanger/ExchangeLoops.java
FAILED: java/util/concurrent/ExecutorCompletionService/ExecutorCompletionServiceLoops.java
FAILED: java/util/concurrent/FutureTask/CancelledFutureLoops.java
FAILED: java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java
FAILED: java/util/concurrent/locks/ReentrantLock/LockOncePerThreadLoops.java
FAILED: java/util/concurrent/locks/ReentrantLock/SimpleReentrantLockLoops.java
FAILED: java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java
FAILED: java/util/concurrent/locks/ReentrantReadWriteLock/MapLoops.java
TEST STATS: name=jdk_tier1  run=1330  pass=1318  fail=12

After patch(JDK-8181872 aarch64 part: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/16c9c159df90#l1.1):
$ make test TEST=tier1
-------------- Test Summary ------------

Summary: hotspot_tier1
FAILED: runtime/StackGap/testme.sh
FAILED: serviceability/sa/jmap-hashcode/Test8028623.java
TEST STATS: name=hotspot_tier1  run=806  pass=804  fail=2

Summary: langtools_tier1
FAILED: tools/javac/diags/CheckExamples.java
TEST STATS: name=langtools_tier1  run=3121  pass=3120  fail=1

Summary: jdk_tier1
TEST STATS: name=jdk_tier1  run=1330  pass=1330  fail=0


Note that JDK is build with gcc 9.3
Comments
URL: https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c42cb799628c User: andrew Date: 2021-05-04 20:08:45 +0000
04-05-2021

URL: https://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/c42cb799628c User: fyang Date: 2021-04-28 22:27:55 +0000
28-04-2021

Fix Request [8u] 8u RFR(acked by Andrew Haley): https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-April/013765.html
28-04-2021

This is an JDK 8u specific bug. In particular only affecting 8u292 when the aarch64 port got included. JDK-8181872 is fixed in JDK 9+ but the 8u backport was done before the aarch64 port integration, hence the aarch64 parts are missing.
28-04-2021