equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2010, 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. |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_HPP |
|
26 #define SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_HPP |
|
27 |
|
28 #include "memory/genOopClosures.hpp" |
|
29 |
25 ///////////////////////////////////////////////////////////////// |
30 ///////////////////////////////////////////////////////////////// |
26 // Closures used by ConcurrentMarkSweepGeneration's collector |
31 // Closures used by ConcurrentMarkSweepGeneration's collector |
27 ///////////////////////////////////////////////////////////////// |
32 ///////////////////////////////////////////////////////////////// |
28 class ConcurrentMarkSweepGeneration; |
33 class ConcurrentMarkSweepGeneration; |
29 class CMSBitMap; |
34 class CMSBitMap; |
425 virtual void do_oop(oop* p); |
430 virtual void do_oop(oop* p); |
426 virtual void do_oop(narrowOop* p); |
431 virtual void do_oop(narrowOop* p); |
427 inline void do_oop_nv(oop* p) { CMSParKeepAliveClosure::do_oop_work(p); } |
432 inline void do_oop_nv(oop* p) { CMSParKeepAliveClosure::do_oop_work(p); } |
428 inline void do_oop_nv(narrowOop* p) { CMSParKeepAliveClosure::do_oop_work(p); } |
433 inline void do_oop_nv(narrowOop* p) { CMSParKeepAliveClosure::do_oop_work(p); } |
429 }; |
434 }; |
|
435 |
|
436 #endif // SHARE_VM_GC_IMPLEMENTATION_CONCURRENTMARKSWEEP_CMSOOPCLOSURES_HPP |