< prev index next >

src/hotspot/share/gc/z/zRootsIterator.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 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. --- 1,7 ---- /* ! * Copyright (c) 2015, 2018, 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.
*** 318,332 **** _par_state.oops_do(cl); } ZConcurrentWeakRootsIterator::ZConcurrentWeakRootsIterator() : _par_state(JNIHandles::weak_global_handles()), ! _jni_weak_handles(this) { ! } ! ! ZConcurrentWeakRootsIterator::~ZConcurrentWeakRootsIterator() { ! } void ZConcurrentWeakRootsIterator::oops_do(OopClosure* cl) { ZStatTimer timer(ZSubPhaseConcurrentWeakRoots); if (ZWeakRoots) { if (ZConcurrentJNIWeakGlobalHandles) { --- 318,328 ---- _par_state.oops_do(cl); } ZConcurrentWeakRootsIterator::ZConcurrentWeakRootsIterator() : _par_state(JNIHandles::weak_global_handles()), ! _jni_weak_handles(this) {} void ZConcurrentWeakRootsIterator::oops_do(OopClosure* cl) { ZStatTimer timer(ZSubPhaseConcurrentWeakRoots); if (ZWeakRoots) { if (ZConcurrentJNIWeakGlobalHandles) {
< prev index next >