equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, 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. |
134 _service_thread = thread; |
134 _service_thread = thread; |
135 } |
135 } |
136 |
136 |
137 void JfrCheckpointManager::register_full(BufferPtr t, Thread* thread) { |
137 void JfrCheckpointManager::register_full(BufferPtr t, Thread* thread) { |
138 // nothing here at the moment |
138 // nothing here at the moment |
|
139 assert(t != NULL, "invariant"); |
|
140 assert(t->acquired_by(thread), "invariant"); |
139 assert(t->retired(), "invariant"); |
141 assert(t->retired(), "invariant"); |
140 } |
142 } |
141 |
143 |
142 void JfrCheckpointManager::lock() { |
144 void JfrCheckpointManager::lock() { |
143 assert(!_lock->owned_by_self(), "invariant"); |
145 assert(!_lock->owned_by_self(), "invariant"); |