JDK-8135159 : C2: Bytecode escape analyzer crashes with unbalanced stack
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-09-07
  • Updated: 2017-01-10
  • Resolved: 2017-01-10
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 9
9Resolved
Related Reports
Duplicate :  
Description
#  Internal Error (/opt/jprt/T/P1/220655.vkozlov/s/hotspot/src/share/vm/ci/bcEscapeAnalyzer.cpp:1037), pid=10262, tid=0x0000000000002859
#  assert(d_state->_stack_height == s_state->_stack_height) failed: computed stack heights must match

Current CompileTask:
C2: 456460 12566    b  4       com.oracle.tck.lib.autd2.TestRunner::performRun (248 bytes)

Stack: [0x00007f9c6aba7000,0x00007f9c6aca8000],  sp=0x00007f9c6aca21e0,  free space=1004k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x11af871]  VMError::report_and_die()+0x151;;  VMError::report_and_die()+0x151
V  [libjvm.so+0x833bbb]  report_vm_error(char const*, int, char const*, char const*)+0x7b;;  report_vm_error(char const*, int, char const*, char const*)+0x7b
V  [libjvm.so+0x4e9351]  BCEscapeAnalyzer::merge_block_states(BCEscapeAnalyzer::StateInfo*, ciBlock*, BCEscapeAnalyzer::StateInfo*)+0x111;;  BCEscapeAnalyzer::merge_block_states(BCEscapeAnalyzer::StateInfo*, ciBlock*, BCEscapeAnalyzer::StateInfo*)+0x111
V  [libjvm.so+0x4edb66]  BCEscapeAnalyzer::iterate_blocks(Arena*)+0x7b6;;  BCEscapeAnalyzer::iterate_blocks(Arena*)+0x7b6
V  [libjvm.so+0x4ee336]  BCEscapeAnalyzer::do_analysis()+0x86;;  BCEscapeAnalyzer::do_analysis()+0x86
V  [libjvm.so+0x4ee5cd]  BCEscapeAnalyzer::compute_escape_info()+0x25d;;  BCEscapeAnalyzer::compute_escape_info()+0x25d
V  [libjvm.so+0x4ef0eb]  BCEscapeAnalyzer::BCEscapeAnalyzer(ciMethod*, BCEscapeAnalyzer*)+0x55b;;  BCEscapeAnalyzer::BCEscapeAnalyzer(ciMethod*, BCEscapeAnalyzer*)+0x55b
V  [libjvm.so+0x6aacf0]  ciMethod::get_bcea()+0xa0;;  ciMethod::get_bcea()+0xa0
V  [libjvm.so+0x8f3ac0]  ConnectionGraph::add_call_node(CallNode*)+0x1b0;;  ConnectionGraph::add_call_node(CallNode*)+0x1b0
V  [libjvm.so+0x9012b4]  ConnectionGraph::compute_escape()+0x454;;  ConnectionGraph::compute_escape()+0x454
V  [libjvm.so+0x902908]  ConnectionGraph::do_analysis(Compile*, PhaseIterGVN*)+0x178;;  ConnectionGraph::do_analysis(Compile*, PhaseIterGVN*)+0x178
V  [libjvm.so+0x7ab726]  Compile::Optimize()+0x8e6;;  Compile::Optimize()+0x8e6
V  [libjvm.so+0x7ad05b]  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x138b;;  Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0x138b
V  [libjvm.so+0x63f8c6]  C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x116;;  C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0x116
V  [libjvm.so+0x7b7492]  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x462;;  CompileBroker::invoke_compiler_on_method(CompileTask*)+0x462
V  [libjvm.so+0x7b82a8]  CompileBroker::compiler_thread_loop()+0x408;;  CompileBroker::compiler_thread_loop()+0x408
V  [libjvm.so+0x1129de4]  JavaThread::thread_main_inner()+0x1d4;;  JavaThread::thread_main_inner()+0x1d4
V  [libjvm.so+0x112a108]  JavaThread::run()+0x298;;  JavaThread::run()+0x298
V  [libjvm.so+0xeda0aa]  java_start(Thread*)+0xca;;  java_start(Thread*)+0xca
C  [libpthread.so.0+0x7851]



ILW = HLH = P2


Comments
After looking more into JDK-8168926, I'm confident that this issue duplicates JDK-8168926.
10-01-2017

I can't reproduce the issue -- again. I tried to reproduce with the latest failure (i.e., the failure that involves java/util/concurrent/ThreadPoolExecutor/TimeOutShrink.java). Unfortunately, I can't find the build 9-internal+0-2016-12-09-161408.jesper.dev-hs-merge involved with the crash. Instead, I took the latest JDK 9 ea build (b149) and attempted replay the failing compilation on the same machine where the failure appeared. Replay compilation fails does not work because the data in the replay file does not match the actual method data. # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (/scratch/workspace/9-2-build-glinux-arm64-phase2/jdk9/5845/hotspot/src/share/vm/ci/ciReplay.cpp:1120), pid=3436, tid=3463 # assert(m->_data_size + m->_extra_data_size == rec->_data_length * (int)sizeof(rec->_data[0]) || m->_data_size == rec->_data_length * (int)sizeof(rec->_data[0])) failed: must agree # # JRE version: Java(TM) SE Runtime Environment (9.0+149) (fastdebug build 9-ea+149) # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-ea+149, mixed mode, compressed oops, g1 gc, linux-aarch64) # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /tmp/zmajo/test/core.3436) # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp [...] Current CompileTask: C2: 1027 10 b java.util.concurrent.SynchronousQueue$TransferStack::transfer (380 bytes) Stack: [0x0000007f43737000,0x0000007f43837000], sp=0x0000007f43833530, free space=1009k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x102e020] VMError::report_and_die(int, char const*, char const*, std::__va_list, Thread*, unsigned char*, void*, void*, char const*, int, unsig\ ned long)+0x140 V [libjvm.so+0x102ec28] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, std::__va_list)+0x54 V [libjvm.so+0x6c8968] report_vm_error(char const*, int, char const*, char const*, ...)+0xe0 V [libjvm.so+0x562514] ciReplay::initialize(ciMethodData*)+0x308 V [libjvm.so+0x54d084] ciMethodData::load_data()+0x3d8 V [libjvm.so+0x541f78] ciMethod::ensure_method_data(methodHandle)+0xbc V [libjvm.so+0x54216c] ciMethod::ensure_method_data()+0xe8 V [libjvm.so+0x650e24] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xa9c V [libjvm.so+0x4d8448] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x150 V [libjvm.so+0x65b844] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x374 V [libjvm.so+0x65c468] CompileBroker::compiler_thread_loop()+0x2b8 V [libjvm.so+0xfb1e08] JavaThread::thread_main_inner()+0x1fc V [libjvm.so+0xfb2844] JavaThread::run()+0x1c0 V [libjvm.so+0xd8e4a8] thread_native_entry(Thread*)+0x118 C [libpthread.so.0+0x7e2c] start_thread+0xb0 C [libc.so.6+0xc8430] clone+0x70
20-12-2016

Reproduced again.
13-12-2016

I did the following number of runs with "-m default": Linux: 1057 Windows: 900 I did the following number of runs with "-m stress": Linux: 449 Windows: 439 I used hosts/VM versions with which the failure has previously appeared. Unfortunately, the failure did no reproduce. I'll close the bug as "Cannot Reproduce" for now. Please reopen if a new failure appears (hopefully with a new test that I can use to reproduce the problem.
03-10-2016

Hi Pavel, thank you for the clarification! I see now why I don't see any notice of failing WB methods for runs that pass. I've started the runs with -m stress -- I hope that helps. Thank you!
28-09-2016

Try also another test mode: with "-m stress". Maybe this could help to reproduce http://hg.openjdk.java.net/code-tools/jcstress/file/11b5f55dcddc/jcstress-core/src/main/java/org/openjdk/jcstress/Options.java#l206
28-09-2016

[~zmajo] Zoltan, I suspect that WB warnings always happen but forked VM's output isn't shown for passed runs. JCStress has its own WhiteBox class that contains only certain methods that necessary for tests harness: http://hg.openjdk.java.net/code-tools/jcstress/file/11b5f55dcddc/jcstress-core/src/main/java/sun/hotspot/WhiteBox.java I looked at logs in the run, but I don't see any of them showing something that could help us to find if there was any VM replacement.
28-09-2016

I'm trying to reproduce the failure with the L1_L1_S2__S2__S1__S1_Test test on both Windows-x86 (where the failure appeared) and on Linux-x86. So far I've executed 1'000 iterations and the failure did not reproduce. I'll continue running the test for couple of more days and hope that the problem eventually reproduces. What also looks suspicious to me is that in the case of the failure with L1_L1_S2__S2__S1__S1_Test and S1_L2__S2_S3__S3_S1_Test, WhiteBox methods have failed to register with the VM. [VM ERROR] o.o.j.t.seqcst.volatiles.S1_L2__S2_S3__S3_S1_Test [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getObjectAddress0(Ljava/lang/Object;)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getObjectSize0(Ljava/lang/Object;)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isObjectInOldGen0(Ljava/lang/Object;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getHeapOopSize()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getVMPageSize()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getVMAllocationGranularity()J [VM ERROR] o.o.j.t.seqcst.volatiles.L1_L1_S2__S2__S1__S1_Test [2016-09-25T22:45:55.37] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getObjectAddress0(Ljava/lang/Object;)J [2016-09-25T22:45:55.37] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getObjectSize0(Ljava/lang/Object;)J [2016-09-25T22:45:55.37] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isObjectInOldGen0(Ljava/lang/Object;)Z [2016-09-25T22:45:55.37] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getHeapOopSize()I [2016-09-25T22:45:55.37] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getVMPageSize()I [2016-09-25T22:45:55.37] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getVMAllocationGranularity()J [2016-09-25T22:45:55.37] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getVMLargePageSize()J That does not happen on my attempts to reproduce the problem. Also, in case of L1_L1_S2__S2__S1__S1_Test Aurora reports that the it cannot find the VM image: ;; Using jvm: "C:/local/aurora/CommonData/TEST_JAVA_HOME/bin/server/jvm.dll" Warning: This error log is *not* generated by the following JVM: C:/local/aurora/CommonData/TEST_JAVA_HOME/bin/server/jvm.dll Expected vm_info: [Java HotSpot(TM) Server VM (fastdebug 9-internal+0-2016-09-23-203306.amurillo.jdk9-hs-2016-09-19-snapshot) for windows-x86 JRE (9-internal+0-2016-09-23-203306.amurillo.jdk9-hs-2016-09-19-snapshot), built on Sep 23 2016 21:42:20 by "jprtadm" with MS VC++ 12.0 (VS2013)] Actual vm_info: [] JVM symbol lookup may be incorrect. Please use --jvm=<path/to/jvm> to point to the correct JVM. (Partial) removal or replacement of the VM while the test was in progress could explain why the Whitebox methods have failed to register. Tatiana ([~tpivovarova]), Pavel [~ppunegov], could you maybe check how the test is executed (i.e., if the VM executing the test was/could have been overwritten while the test was being executed)? That might bring us closer to understanding this (seemingly hard to reproduce) problem. Thank you!
28-09-2016

Thank you, Pavel and Tatiana, for reporting the newest failure!
27-09-2016

This issues has reproduced in PIT by org.openjdk.jcstress.tests.seqcst.volatiles.L1_L1_S2__S2__S1__S1_Test
26-09-2016

I've executed 8'000 iterations of the failing test RacingCollections.java on the same machine as where the failure originally appeared (with the same set of command-line parameters and same build as the one the original failure appeared with). I was unfortunately unable to reproduce the failure. I've also tried re-running with replay compilation. The failure is not triggered, even though the java.util.concurrent.ConcurrentLinkedQueue::toString method is compiled. What is interesting to see is that during the original failure appeared while the compiler was performing escape analysis. When running with replay compilation, the compiler does not perform escape analysis. No inlining is performed during the compilation of the toString method. So the only reason I can think of for escape analysis not being not performed is that profile information is not reused from the failing compilation. I'm closing this bug as cannot reproduce (again). Please reopen if a new failure appears (hopefully with a different test that makes it easier to reproduce the failure).
26-09-2016

ILW=crash (with failing assert),rare,no workaround=HLH=P2
21-09-2016

It still appears in PIT (Macmini4)
20-09-2016

RULE "java/util/Collections/RacingCollections.java" Crash Internal Error ...bcEscapeAnalyzer.cpp...assert(d_state->_stack_height == s_state->_stack_height) failed: computed stack heights must match job http://aurora.us.oracle.com/functional/faces/RunDetails.xhtml?names=1593329.PIT.VM.hs-tier7-comp-2345 hs_err http://spbeg04.ru.oracle.com:9502/runs/01593/1593329.PIT.VM.hs-tier7-comp/1593329.PIT.VM.hs-tier7-comp-2345/results/workDir/java/util/Collections/RacingCollections/hs_err_pid93866.log
20-09-2016

I attempted to reproduce the failure on the same machine and with the same flags as where the latest instance reported by Dmitrij appeared (thank you, again, Dmitrij, for the instructions). I executed the test 1'000 times. Unfortunately, the problem did not reproduce. I've noticed a number of errors related to registering WhiteBox API method in the VM in the failure reported by Dmitrij (see below). That problem did not appear during any of the 1'000 runs I did. It might be that WhiteBox-related problem triggered the failure (although the WB API was not used when the failure first appeared in 2015). For now, I'll close this issue as cannot reproduce. [VM ERROR] o.o.j.t.seqcst.volatiles.S1_L2__S2_S3__S3_S1_Test [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getObjectAddress0(Ljava/lang/Object;)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getObjectSize0(Ljava/lang/Object;)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isObjectInOldGen0(Ljava/lang/Object;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getHeapOopSize()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getVMPageSize()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getVMAllocationGranularity()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getVMLargePageSize()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getHeapSpaceAlignment()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getHeapAlignment()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::parseCommandLine0(Ljava/lang/String;C[Lsun/hotspot/parser/DiagnosticCommand;)[Ljava/lang/Object; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::addToBootstrapClassLoaderSearch0(Ljava/lang/String;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::addToSystemClassLoaderSearch0(Ljava/lang/String;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getCompressedOopsMaxHeapSize()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::printHeapSizes()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::runMemoryUnitTests()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::readFromNoaccessArea()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::stressVirtualSpaceResize(JJJ)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1InConcurrentMark()Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1IsHumongous0(Ljava/lang/Object;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1BelongsToHumongousRegion0(J)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1BelongsToFreeRegion0(J)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1NumMaxRegions()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1NumFreeRegions()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1RegionSize()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1StartConcMarkCycle()Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1AuxiliaryMemoryUsage()Ljava/lang/management/MemoryUsage; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::psVirtualSpaceAlignment()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::psHeapGenerationAlignment()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::g1GetMixedGCInfo(I)[J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTMalloc(J)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTMallocWithPseudoStack(JI)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTFree(J)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTReserveMemory(J)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTCommitMemory(JJ)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTUncommitMemory(JJ)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTReleaseMemory(JJ)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTChangeTrackingLevel()Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::NMTGetHashSize()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::deoptimizeFrames(Z)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isMethodCompiled0(Ljava/lang/reflect/Executable;Z)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isMethodCompilable0(Ljava/lang/reflect/Executable;IZ)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isMethodQueuedForCompilation0(Ljava/lang/reflect/Executable;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isIntrinsicAvailable0(Ljava/lang/reflect/Executable;Ljava/lang/reflect/Executable;I)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::makeMethodNotCompilable0(Ljava/lang/reflect/Executable;IZ)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::testSetDontInlineMethod0(Ljava/lang/reflect/Executable;Z)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getMethodCompilationLevel0(Ljava/lang/reflect/Executable;Z)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getMethodEntryBci0(Ljava/lang/reflect/Executable;)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getCompileQueueSize(I)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::testSetForceInlineMethod0(Ljava/lang/reflect/Executable;Z)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::enqueueMethodForCompilation0(Ljava/lang/reflect/Executable;II)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::enqueueInitializerForCompilation0(Ljava/lang/Class;I)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::clearMethodState0(Ljava/lang/reflect/Executable;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::lockCompilation()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::unlockCompilation()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::matchesMethod(Ljava/lang/reflect/Executable;Ljava/lang/String;)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::matchesInline(Ljava/lang/reflect/Executable;Ljava/lang/String;)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::shouldPrintAssembly(Ljava/lang/reflect/Executable;I)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isConstantVMFlag(Ljava/lang/String;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isLockedVMFlag(Ljava/lang/String;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setBooleanVMFlag(Ljava/lang/String;Z)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setIntVMFlag(Ljava/lang/String;J)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setUintVMFlag(Ljava/lang/String;J)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setIntxVMFlag(Ljava/lang/String;J)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setUintxVMFlag(Ljava/lang/String;J)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setUint64VMFlag(Ljava/lang/String;J)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setSizeTVMFlag(Ljava/lang/String;J)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setDoubleVMFlag(Ljava/lang/String;D)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::setStringVMFlag(Ljava/lang/String;Ljava/lang/String;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getBooleanVMFlag(Ljava/lang/String;)Ljava/lang/Boolean; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getIntVMFlag(Ljava/lang/String;)Ljava/lang/Long; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getUintVMFlag(Ljava/lang/String;)Ljava/lang/Long; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getIntxVMFlag(Ljava/lang/String;)Ljava/lang/Long; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getUintxVMFlag(Ljava/lang/String;)Ljava/lang/Long; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getUint64VMFlag(Ljava/lang/String;)Ljava/lang/Long; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getSizeTVMFlag(Ljava/lang/String;)Ljava/lang/Long; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getDoubleVMFlag(Ljava/lang/String;)Ljava/lang/Double; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getStringVMFlag(Ljava/lang/String;)Ljava/lang/String; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isInStringTable(Ljava/lang/String;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::fullGC()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::youngGC()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::readReservedMemory()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::allocateMetaspace(Ljava/lang/ClassLoader;J)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::freeMetaspace(Ljava/lang/ClassLoader;JJ)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::incMetaspaceCapacityUntilGC(J)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::metaspaceCapacityUntilGC()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::metaspaceShouldConcurrentCollect()Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getCPUFeatures()Ljava/lang/String; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getNMethod0(Ljava/lang/reflect/Executable;Z)[Ljava/lang/Object; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::forceNMethodSweep()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::allocateCodeBlob(II)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::freeCodeBlob(J)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getCodeHeapEntries(I)[Ljava/lang/Object; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getCompilationActivityMode()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getMethodData0(Ljava/lang/reflect/Executable;)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getCodeBlob(J)[Ljava/lang/Object; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getThreadStackSize()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getThreadRemainingStackSize()J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::DefineModule(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::AddModuleExports(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::AddReadsModule(Ljava/lang/Object;Ljava/lang/Object;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::CanReadModule(Ljava/lang/Object;Ljava/lang/Object;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::IsExportedToModule(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::AddModulePackage(Ljava/lang/Object;Ljava/lang/String;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::GetModuleByPackageName(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::AddModuleExportsToAllUnnamed(Ljava/lang/Object;Ljava/lang/String;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::AddModuleExportsToAll(Ljava/lang/Object;Ljava/lang/String;)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::assertMatchingSafepointCalls(ZZ)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isMonitorInflated0(Ljava/lang/Object;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::forceSafepoint()V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getConstantPool0(Ljava/lang/Class;)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getConstantPoolCacheIndexTag0()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getConstantPoolCacheLength0(Ljava/lang/Class;)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::remapInstructionOperandFromCPCache0(Ljava/lang/Class;I)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::encodeConstantPoolIndyIndex0(I)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getMethodBooleanOption(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Boolean; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getMethodIntxOption(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getMethodUintxOption(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Long; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getMethodDoubleOption(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/Double; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getMethodStringOption(Ljava/lang/reflect/Executable;Ljava/lang/String;)Ljava/lang/String; [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isShared(Ljava/lang/Object;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::isSharedClass(Ljava/lang/Class;)Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::areSharedStringsIgnored()Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::clearInlineCaches0(Z)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::addCompilerDirective(Ljava/lang/String;)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::removeCompilerDirective(I)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::currentGC()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::allSupportedGC()I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::gcSelectedByErgo()Z [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::printRegionInfo(I)V [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getHeapUsageForContext(I)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getHeapRegionCountForContext(I)J [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getContextForObject0(Ljava/lang/Object;)I [2016-08-28T15:03:35.48] Warning: 'NoSuchMethodError' on register of sun.hotspot.WhiteBox::getOffsetForName0(Ljava/lang/String;)I [2016-08-28T15:03:35.48] Running org.openjdk.jcstress.tests.seqcst.volatiles.S1_L2__S2_S3__S3_S1_Test
09-09-2016

I attempted to reproduce the failure. I used the same build as reported in the original failure, the build can be downloaded from http://sthjprt.se.oracle.com/archives/2015/09/2015-09-03-220655.vkozlov.8132081/ I used two machines, my own laptop system and slcak740.us.oracle.com, the machine where the original failure appeared. I executed 152 iterations of the failing benchmark on my laptop and 529 iterations of the benchmark on slcak740. The failure did not reproduce. I'm closing this issue as "Cannot reproduce".
14-09-2015