equal
deleted
inserted
replaced
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_MEMORY_REFERENCEPROCESSOR_HPP |
|
26 #define SHARE_VM_MEMORY_REFERENCEPROCESSOR_HPP |
|
27 |
|
28 #include "memory/referencePolicy.hpp" |
|
29 #include "oops/instanceRefKlass.hpp" |
|
30 |
25 // ReferenceProcessor class encapsulates the per-"collector" processing |
31 // ReferenceProcessor class encapsulates the per-"collector" processing |
26 // of java.lang.Reference objects for GC. The interface is useful for supporting |
32 // of java.lang.Reference objects for GC. The interface is useful for supporting |
27 // a generational abstraction, in particular when there are multiple |
33 // a generational abstraction, in particular when there are multiple |
28 // generations that are being independently collected -- possibly |
34 // generations that are being independently collected -- possibly |
29 // concurrently and/or incrementally. Note, however, that the |
35 // concurrently and/or incrementally. Note, however, that the |
540 DiscoveredList* _refs_lists; |
546 DiscoveredList* _refs_lists; |
541 HeapWord* _pending_list_addr; |
547 HeapWord* _pending_list_addr; |
542 oop _sentinel_ref; |
548 oop _sentinel_ref; |
543 int _n_queues; |
549 int _n_queues; |
544 }; |
550 }; |
|
551 |
|
552 #endif // SHARE_VM_MEMORY_REFERENCEPROCESSOR_HPP |