Details
-
Bug
-
Resolution: Fixed
-
P4
-
11, 13, 14
-
b24
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8265728 | 11.0.12 | Igor Ignatyev | P4 | Resolved | Fixed | b01 |
Description
CompileCommand: compileonly CheckLoopStripMining.test_loop
[5.487s][warning][safepoint]
[5.487s][warning][safepoint] # SafepointSynchronize::begin: Timeout detected:
[5.487s][warning][safepoint] # SafepointSynchronize::begin: Timed out while spinning to reach a safepoint.
[5.487s][warning][safepoint] # SafepointSynchronize::begin: Threads which did not reach the safepoint:
[5.488s][warning][safepoint] # "MainThread" #12 prio=5 os_prio=0 cpu=1750.00ms elapsed=2.77s tid=0x00000038ffd8d800 nid=0x8e3c runnable [0x000000388ef0d000]
[5.488s][warning][safepoint] java.lang.Thread.State: RUNNABLE
[5.488s][warning][safepoint] Thread: 0x00000038ffd8d800 [0x8e3c] State: _running _at_poll_safepoint 1
[5.488s][warning][safepoint] JavaThread state: _thread_blocked
[5.488s][warning][safepoint]
[5.488s][warning][safepoint] # SafepointSynchronize::begin: (End of list)
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=t:/workspace/open/src/hotspot/share/runtime/safepoint.cpp:927
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (t:/workspace/open/src/hotspot/share/runtime/safepoint.cpp:927), pid=11472, tid=45292
# fatal error: Safepoint sync time longer than 500ms detected when executing SafepointALot.
#
The test sets a fixed SafepointTimeoutDelay of 500ms but that may be too short depending on the runtime environment. The thread being waited upon has actually reached the safepoint but we've processed the timeout code before checking again.
We have slow Windows machines where this can crop up.
[5.487s][warning][safepoint]
[5.487s][warning][safepoint] # SafepointSynchronize::begin: Timeout detected:
[5.487s][warning][safepoint] # SafepointSynchronize::begin: Timed out while spinning to reach a safepoint.
[5.487s][warning][safepoint] # SafepointSynchronize::begin: Threads which did not reach the safepoint:
[5.488s][warning][safepoint] # "MainThread" #12 prio=5 os_prio=0 cpu=1750.00ms elapsed=2.77s tid=0x00000038ffd8d800 nid=0x8e3c runnable [0x000000388ef0d000]
[5.488s][warning][safepoint] java.lang.Thread.State: RUNNABLE
[5.488s][warning][safepoint] Thread: 0x00000038ffd8d800 [0x8e3c] State: _running _at_poll_safepoint 1
[5.488s][warning][safepoint] JavaThread state: _thread_blocked
[5.488s][warning][safepoint]
[5.488s][warning][safepoint] # SafepointSynchronize::begin: (End of list)
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=t:/workspace/open/src/hotspot/share/runtime/safepoint.cpp:927
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (t:/workspace/open/src/hotspot/share/runtime/safepoint.cpp:927), pid=11472, tid=45292
# fatal error: Safepoint sync time longer than 500ms detected when executing SafepointALot.
#
The test sets a fixed SafepointTimeoutDelay of 500ms but that may be too short depending on the runtime environment. The thread being waited upon has actually reached the safepoint but we've processed the timeout code before checking again.
We have slow Windows machines where this can crop up.
Attachments
Issue Links
- backported by
-
JDK-8265728 [testbug] compiler/loopstripmining/CheckLoopStripMining.java sets too short a SafepointTimeoutDelay
-
- Resolved
-
- relates to
-
JDK-8220374 C2: LoopStripMining doesn't strip as expected
-
- Resolved
-
-
JDK-8220761 compiler/loopstripmining/CheckLoopStripMining.java crashed
-
- Closed
-
-
JDK-8249890 CheckLoopStripMining.java "fatal error: Safepoint sync time longer than 1200ms detected when executing SafepointALot."
-
- Closed
-