equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2018, 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. |
106 // the instance's bias pattern differs from the prototype header's and |
106 // the instance's bias pattern differs from the prototype header's and |
107 // causes the bias to be revoked without reaching a safepoint or, |
107 // causes the bias to be revoked without reaching a safepoint or, |
108 // again, a bulk heap sweep. |
108 // again, a bulk heap sweep. |
109 |
109 |
110 // Biased locking counters |
110 // Biased locking counters |
111 class BiasedLockingCounters VALUE_OBJ_CLASS_SPEC { |
111 class BiasedLockingCounters { |
112 private: |
112 private: |
113 int _total_entry_count; |
113 int _total_entry_count; |
114 int _biased_lock_entry_count; |
114 int _biased_lock_entry_count; |
115 int _anonymously_biased_lock_entry_count; |
115 int _anonymously_biased_lock_entry_count; |
116 int _rebiased_lock_entry_count; |
116 int _rebiased_lock_entry_count; |