src/hotspot/share/gc/shared/oopStorage.inline.hpp
changeset 53244 9807daeb47c4
parent 52421 3021c1ad958b
child 57550 278795ad438a
equal deleted inserted replaced
53243:8bea4144b21c 53244:9807daeb47c4
     1 /*
     1 /*
     2  * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2018, 2019, 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.
   401 template<typename IsAliveClosure, typename Closure>
   401 template<typename IsAliveClosure, typename Closure>
   402 inline void OopStorage::weak_oops_do(IsAliveClosure* is_alive, Closure* cl) {
   402 inline void OopStorage::weak_oops_do(IsAliveClosure* is_alive, Closure* cl) {
   403   iterate_safepoint(if_alive_fn(is_alive, oop_fn(cl)));
   403   iterate_safepoint(if_alive_fn(is_alive, oop_fn(cl)));
   404 }
   404 }
   405 
   405 
   406 #endif // include guard
   406 #endif // SHARE_GC_SHARED_OOPSTORAGE_INLINE_HPP