< prev index next >

src/share/vm/gc/g1/g1CollectedHeap.cpp

Print this page
rev 12505 : imported patch g1_whitebox

*** 1,7 **** /* ! * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2001, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 2493,2502 **** --- 2493,2510 ---- void G1CollectedHeap::verify(VerifyOption vo) { _verifier->verify(vo); } + bool G1CollectedHeap::supports_concurrent_phase_control() const { + return true; + } + + bool G1CollectedHeap::request_concurrent_phase(const char* phase) { + return _cmThread->request_concurrent_phase(phase); + } + class PrintRegionClosure: public HeapRegionClosure { outputStream* _st; public: PrintRegionClosure(outputStream* st) : _st(st) {} bool doHeapRegion(HeapRegion* r) {
< prev index next >