< prev index next >

src/hotspot/share/gc/g1/g1OopStarChunkedList.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2018, 2019, 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) 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.
*** 39,61 **** ChunkedList<narrowOop*, mtGC>* _coops; template <typename T> void delete_list(ChunkedList<T*, mtGC>* c); template <typename T> ! size_t chunks_do(ChunkedList<T*, mtGC>* head, ! OopClosure* cl); template <typename T> inline void push(ChunkedList<T*, mtGC>** field, T* p); public: G1OopStarChunkedList() : _used_memory(0), _roots(NULL), _croots(NULL), _oops(NULL), _coops(NULL) {} ~G1OopStarChunkedList(); size_t used_memory() { return _used_memory; } ! size_t oops_do(OopClosure* obj_cl, OopClosure* root_cl); inline void push_oop(oop* p); inline void push_oop(narrowOop* p); inline void push_root(oop* p); inline void push_root(narrowOop* p); --- 39,61 ---- ChunkedList<narrowOop*, mtGC>* _coops; template <typename T> void delete_list(ChunkedList<T*, mtGC>* c); template <typename T> ! void chunks_do(ChunkedList<T*, mtGC>* head, ! OopClosure* cl); template <typename T> inline void push(ChunkedList<T*, mtGC>** field, T* p); public: G1OopStarChunkedList() : _used_memory(0), _roots(NULL), _croots(NULL), _oops(NULL), _coops(NULL) {} ~G1OopStarChunkedList(); size_t used_memory() { return _used_memory; } ! void oops_do(OopClosure* obj_cl, OopClosure* root_cl); inline void push_oop(oop* p); inline void push_oop(narrowOop* p); inline void push_root(oop* p); inline void push_root(narrowOop* p);
< prev index next >