1.1 --- a/src/share/vm/runtime/synchronizer.hpp Sun Oct 14 20:44:38 2018 -0400 1.2 +++ b/src/share/vm/runtime/synchronizer.hpp Tue Oct 16 10:40:23 2018 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -161,7 +161,7 @@ 1.11 void waitUninterruptibly (TRAPS) { ObjectSynchronizer::waitUninterruptibly (_obj, 0, CHECK);} 1.12 // complete_exit gives up lock completely, returning recursion count 1.13 // reenter reclaims lock with original recursion count 1.14 - intptr_t complete_exit(TRAPS) { return ObjectSynchronizer::complete_exit(_obj, CHECK_0); } 1.15 + intptr_t complete_exit(TRAPS) { return ObjectSynchronizer::complete_exit(_obj, THREAD); } 1.16 void reenter(intptr_t recursion, TRAPS) { ObjectSynchronizer::reenter(_obj, recursion, CHECK); } 1.17 }; 1.18