equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2014, 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. |
309 static PerfCounter * _sync_Deflations; |
309 static PerfCounter * _sync_Deflations; |
310 static PerfLongVariable * _sync_MonExtant; |
310 static PerfLongVariable * _sync_MonExtant; |
311 |
311 |
312 public: |
312 public: |
313 static int Knob_Verbose; |
313 static int Knob_Verbose; |
|
314 static int Knob_VerifyInUse; |
314 static int Knob_SpinLimit; |
315 static int Knob_SpinLimit; |
315 void* operator new (size_t size) throw() { |
316 void* operator new (size_t size) throw() { |
316 return AllocateHeap(size, mtInternal); |
317 return AllocateHeap(size, mtInternal); |
317 } |
318 } |
318 void* operator new[] (size_t size) throw() { |
319 void* operator new[] (size_t size) throw() { |