JDK-8066045 : opto/node.hpp:355, assert(i < _max) failed: oob: i=1, _max=1
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2008
  • CPU: x86
  • Submitted: 2014-11-27
  • Updated: 2017-07-26
  • Resolved: 2014-11-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.
JDK 7 JDK 8 JDK 9
7u80Fixed 8u40Fixed 9 b43Fixed
Related Reports
Relates :  
Description
Nightly failure on Windows 32, two tests with similar-looking stacks at failure:

com/sun/jdi/AcceptTimeout.java
nsk/jdi/EventRequestManager/hashCode/hashcode001

VM options:
 	-server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions 

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (C:\...\hotspot\src\share\vm\opto/node.hpp:355), pid=5200, tid=4352
#  assert(i < _max) failed: oob: i=1, _max=1

V  [jvm.dll+0x2e1ae5]  VMError::report_and_die+0x3d5;;  ?report_and_die@VMError@@QAEXXZ+0x3d5
V  [jvm.dll+0x2d5735]  report_vm_error+0x45;;  ?report_vm_error@@YAXPBDH00@Z+0x45
V  [jvm.dll+0x4d97d8]  Node::in+0x38;;  ?in@Node@@QBEPAV1@I@Z+0x38
V  [jvm.dll+0x5e845e]  PhaseIterGVN::add_users_to_worklist+0x4ce;;  ?add_users_to_worklist@PhaseIterGVN@@QAEXPAVNode@@@Z+0x4ce
V  [jvm.dll+0x5eabf0]  PhaseIterGVN::transform_old+0x360;;  ?transform_old@PhaseIterGVN@@EAEPAVNode@@PAV2@@Z+0x360
V  [jvm.dll+0x5ea7b7]  PhaseIterGVN::optimize+0x147;;  ?optimize@PhaseIterGVN@@QAEXXZ+0x147
V  [jvm.dll+0x57b6a6]  PhaseIdealLoop::build_and_optimize+0xb76;;  ?build_and_optimize@PhaseIdealLoop@@AAEX_N0@Z+0xb76
V  [jvm.dll+0x50b963]  PhaseIdealLoop::PhaseIdealLoop+0xa3;;  ??0PhaseIdealLoop@@QAE@AAVPhaseIterGVN@@_N1@Z+0xa3
V  [jvm.dll+0x515ae8]  Compile::Optimize+0x6f8;;  ?Optimize@Compile@@AAEXXZ+0x6f8
V  [jvm.dll+0x51698a]  Compile::Compile+0xcba;;  ??0Compile@@QAE@PAVciEnv@@PAVC2Compiler@@PAVciMethod@@H_N33@Z+0xcba
V  [jvm.dll+0x4e8018]  C2Compiler::compile_method+0xd8;;  ?compile_method@C2Compiler@@UAEXPAVciEnv@@PAVciMethod@@H@Z+0xd8
V  [jvm.dll+0xd0187]  CompileBroker::invoke_compiler_on_method+0x417;;  ?invoke_compiler_on_method@CompileBroker@@CAXPAVCompileTask@@@Z+0x417
V  [jvm.dll+0xd0973]  CompileBroker::compiler_thread_loop+0x2b3;;  ?compiler_thread_loop@CompileBroker@@SAXXZ+0x2b3
V  [jvm.dll+0x2a0999]  JavaThread::thread_main_inner+0xd9;;  ?thread_main_inner@JavaThread@@QAEXXZ+0xd9
V  [jvm.dll+0x2a0b33]  JavaThread::run+0x173;;  ?run@JavaThread@@UAEXXZ+0x173
V  [jvm.dll+0x30560c]  java_start+0xcc;;  ?java_start@@YGIPAVThread@@@Z+0xcc

and (different compilation events)

Compilation events (10 events):
Event: 0.990 Thread 0x28af7400 nmethod 168 0x02981208 code [0x02981320, 0x02981590]
Event: 0.990 Thread 0x28af7400  169             java.lang.String::toLowerCase (8 bytes)
Event: 0.991 Thread 0x28af7400 nmethod 169 0x02980f88 code [0x02981080, 0x029810dc]
Event: 0.991 Thread 0x28af7400  170             java.util.Locale::getDefault (4 bytes)
Event: 0.991 Thread 0x28af7400 nmethod 170 0x0298a688 code [0x0298a780, 0x0298a7d0]
Event: 0.991 Thread 0x28af7400  171             java.net.URL::getPort (5 bytes)
Event: 0.991 Thread 0x28af7400 nmethod 171 0x0298a488 code [0x0298a580, 0x0298a5d0]
Event: 0.991 Thread 0x28af7400  173             sun.nio.cs.FastCharsetProvider::toLower (122 bytes)
Event: 1.009 Thread 0x28af7400 nmethod 173 0x02989208 code [0x02989320, 0x02989970]
Event: 1.009 Thread 0x28af7400  174 %           sun.nio.cs.UTF_8$Decoder::decodeArrayLoop @ 73 (691 bytes)

and

Compilation events (10 events):
Event: 1.299 Thread 0x278b8400 nmethod 174 0x02dd5988 code [0x02dd5ae0, 0x02dd6190]
Event: 1.299 Thread 0x278b8400  181             java.io.WinNTFileSystem::parentOrNull (171 bytes)
Event: 1.312 Thread 0x278b8400 nmethod 181 0x02de1a08 code [0x02de1b20, 0x02de1f1c]
Event: 1.312 Thread 0x278b8400  182             java.io.File::exists (43 bytes)
Event: 1.321 Thread 0x278b8400 nmethod 182 0x02dd0388 code [0x02dd04a0, 0x02dd065c]
Event: 1.321 Thread 0x278b8400  183             java.util.LinkedHashMap::get (33 bytes)
Event: 1.332 Thread 0x278b8400 nmethod 183 0x02dd1808 code [0x02dd1940, 0x02dd1ce4]
Event: 1.332 Thread 0x278b8400  184             sun.util.calendar.CalendarDate::isNormalized (5 bytes)
Event: 1.332 Thread 0x278b8400 nmethod 184 0x02dd0188 code [0x02dd0280, 0x02dd02d0]
Event: 1.332 Thread 0x278b8400  185 %           sun.nio.cs.UTF_8$Decoder::decodeArrayLoop @ 73 (691 bytes)


Comments
verified by nightly testing
26-07-2017

Another failure, nsk/jdi/Field/typeName/typename002, Windows, flags: -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -ea -esa -XX:-TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops From hs_err, note the compilation events, especially the last one. Compilation events (10 events): Event: 1.146 Thread 0x279ef000 nmethod 172 0x0316f288 code [0x0316f3e0, 0x0316fa90] Event: 1.146 Thread 0x279ef000 179 java.io.WinNTFileSystem::parentOrNull (171 bytes) Event: 1.156 Thread 0x279ef000 nmethod 179 0x0316c908 code [0x0316ca20, 0x0316ce1c] Event: 1.156 Thread 0x279ef000 180 java.io.File::exists (43 bytes) Event: 1.162 Thread 0x279ef000 nmethod 180 0x03167508 code [0x03167620, 0x031677dc] Event: 1.162 Thread 0x279ef000 181 java.util.LinkedHashMap::get (33 bytes) Event: 1.164 Thread 0x279ef000 nmethod 181 0x0316ad08 code [0x0316ae20, 0x0316af04] Event: 1.164 Thread 0x279ef000 182 sun.util.calendar.CalendarDate::isNormalized (5 bytes) Event: 1.164 Thread 0x279ef000 nmethod 182 0x03167208 code [0x03167300, 0x03167350] Event: 1.164 Thread 0x279ef000 183 % sun.nio.cs.UTF_8$Decoder::decodeArrayLoop @ 73 (691 bytes)
28-11-2014