JDK-8131715 : backout the fix for JDK-8079359 when JDK-8077392 is fixed
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-07-16
  • Updated: 2016-04-21
  • Resolved: 2016-04-04
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
9 b115Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Description
When the following bug is fixed:

    JDK-8077392 Stream fork/join tasks occasionally fail to complete

the fix for the following bug can be backed out: 

    JDK-8079359 disable JDK-8061553 optimization while JDK-8077392 is resolved 
Comments
This is what "hg backout c06fef227be6" shows should be done: $ hg diff src/share/vm/runtime/sharedRuntime.cpp diff -r c06fef227be6 src/share/vm/runtime/sharedRuntime.cpp --- a/src/share/vm/runtime/sharedRuntime.cpp Tue May 05 18:57:57 2015 -0700 +++ b/src/share/vm/runtime/sharedRuntime.cpp Thu Jul 16 13:15:44 2015 -0700 @@ -1793,9 +1793,7 @@ JRT_END // Handles the uncommon case in locking, i.e., contention or an inflated lock. JRT_BLOCK_ENTRY(void, SharedRuntime::complete_monitor_locking_C(oopDesc* _obj, BasicLock* lock, JavaThread* thread)) - // Disable ObjectSynchronizer::quick_enter() in default config - // until JDK-8077392 is resolved. - if ((SyncFlags & 256) != 0 && !SafepointSynchronize::is_synchronizing()) { + if (!SafepointSynchronize::is_synchronizing()) { // Only try quick_enter() if we're not trying to reach a safepoint // so that the calling thread reaches the safepoint more quickly. if (ObjectSynchronizer::quick_enter(_obj, thread, lock)) return;
16-07-2015