< prev index next >
src/share/vm/gc/shared/collectedHeap.cpp
Print this page
rev 12504 : [mq]: whitebox
rev 12506 : [mq]: list_phases
*** 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.
*** 156,165 ****
--- 156,181 ----
void CollectedHeap::trace_heap_after_gc(const GCTracer* gc_tracer) {
trace_heap(GCWhen::AfterGC, gc_tracer);
}
+ // WhiteBox API support for concurrent collectors. These are the
+ // default implementations, for collectors which don't support this
+ // feature.
+ bool CollectedHeap::supports_concurrent_phase_control() const {
+ return false;
+ }
+
+ const char* const* CollectedHeap::concurrent_phases() const {
+ static const char* const result[] = { NULL };
+ return result;
+ }
+
+ bool CollectedHeap::request_concurrent_phase(const char* phase) {
+ return false;
+ }
+
// Memory state functions.
CollectedHeap::CollectedHeap() :
_barrier_set(NULL),
< prev index next >