equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2016, 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. |
124 |
124 |
125 // Returns the single instance of VMThread. |
125 // Returns the single instance of VMThread. |
126 static VMThread* vm_thread() { return _vm_thread; } |
126 static VMThread* vm_thread() { return _vm_thread; } |
127 |
127 |
128 // GC support |
128 // GC support |
129 void oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf); |
129 void oops_do(OopClosure* f, CodeBlobClosure* cf); |
130 |
130 |
131 void verify(); |
131 void verify(); |
132 |
132 |
133 // Performance measurement |
133 // Performance measurement |
134 static PerfCounter* perf_accumulated_vm_operation_time() { return _perf_accumulated_vm_operation_time; } |
134 static PerfCounter* perf_accumulated_vm_operation_time() { return _perf_accumulated_vm_operation_time; } |