mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8230876: baseline cleanups from Async Monitor Deflation v2.0[789]
Reviewed-by: dholmes, kvn
This commit is contained in:
parent
13ce4cdf2a
commit
b10495d436
9 changed files with 113 additions and 53 deletions
|
@ -92,8 +92,8 @@ class ObjectSynchronizer : AllStatic {
|
|||
// used by classloading to free classloader object lock,
|
||||
// wait on an internal lock, and reclaim original lock
|
||||
// with original recursion count
|
||||
static intptr_t complete_exit(Handle obj, TRAPS);
|
||||
static void reenter (Handle obj, intptr_t recursion, TRAPS);
|
||||
static intx complete_exit(Handle obj, TRAPS);
|
||||
static void reenter (Handle obj, intx recursions, TRAPS);
|
||||
|
||||
// thread-specific and global ObjectMonitor free list accessors
|
||||
static ObjectMonitor* om_alloc(Thread* self);
|
||||
|
@ -209,8 +209,8 @@ class ObjectLocker : public StackObj {
|
|||
void wait_uninterruptibly(TRAPS) { ObjectSynchronizer::wait_uninterruptibly(_obj, 0, CHECK); }
|
||||
// complete_exit gives up lock completely, returning recursion count
|
||||
// reenter reclaims lock with original recursion count
|
||||
intptr_t complete_exit(TRAPS) { return ObjectSynchronizer::complete_exit(_obj, THREAD); }
|
||||
void reenter(intptr_t recursion, TRAPS) { ObjectSynchronizer::reenter(_obj, recursion, CHECK); }
|
||||
intx complete_exit(TRAPS) { return ObjectSynchronizer::complete_exit(_obj, THREAD); }
|
||||
void reenter(intx recursions, TRAPS) { ObjectSynchronizer::reenter(_obj, recursions, CHECK); }
|
||||
};
|
||||
|
||||
#endif // SHARE_RUNTIME_SYNCHRONIZER_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue