equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
133 ObjectMonitor** freeHeadp, |
133 ObjectMonitor** freeHeadp, |
134 ObjectMonitor** freeTailp); |
134 ObjectMonitor** freeTailp); |
135 static bool deflate_monitor(ObjectMonitor* mid, oop obj, |
135 static bool deflate_monitor(ObjectMonitor* mid, oop obj, |
136 ObjectMonitor** freeHeadp, |
136 ObjectMonitor** freeHeadp, |
137 ObjectMonitor** freeTailp); |
137 ObjectMonitor** freeTailp); |
|
138 static bool is_cleanup_needed(); |
138 static void oops_do(OopClosure* f); |
139 static void oops_do(OopClosure* f); |
139 // Process oops in thread local used monitors |
140 // Process oops in thread local used monitors |
140 static void thread_local_used_oops_do(Thread* thread, OopClosure* f); |
141 static void thread_local_used_oops_do(Thread* thread, OopClosure* f); |
141 |
142 |
142 // debugging |
143 // debugging |