hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 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. |
186 size_t _hit_limit; // We hit max stack size limit |
186 size_t _hit_limit; // We hit max stack size limit |
187 size_t _failed_double; // We failed expansion before hitting limit |
187 size_t _failed_double; // We failed expansion before hitting limit |
188 |
188 |
189 public: |
189 public: |
190 CMSMarkStack(): |
190 CMSMarkStack(): |
191 _par_lock(Mutex::event, "CMSMarkStack._par_lock", true), |
191 _par_lock(Mutex::event, "CMSMarkStack._par_lock", true, |
|
192 Monitor::_safepoint_check_never), |
192 _hit_limit(0), |
193 _hit_limit(0), |
193 _failed_double(0) {} |
194 _failed_double(0) {} |
194 |
195 |
195 bool allocate(size_t size); |
196 bool allocate(size_t size); |
196 |
197 |