Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/referenceProcessor.hpp @ 20755:01dcaba9b3f3
8047125: (ref) More phantom object references
Reviewed-by: mchung, dfuchs, ahgross, jmasa, brutisso, mgerdin
Contributed-by: kim.barrett@oracle.com
author | jmasa |
---|---|
date | Fri, 26 Sep 2014 17:48:10 -0400 |
parents | 8e20ef014b08 |
children | c2844108a708 |
comparison
equal
deleted
inserted
replaced
20754:2c75e5ef41e9 | 20755:01dcaba9b3f3 |
---|---|
261 // Arrays of lists of oops, one per thread (pointers into master array above) | 261 // Arrays of lists of oops, one per thread (pointers into master array above) |
262 DiscoveredList* _discoveredSoftRefs; | 262 DiscoveredList* _discoveredSoftRefs; |
263 DiscoveredList* _discoveredWeakRefs; | 263 DiscoveredList* _discoveredWeakRefs; |
264 DiscoveredList* _discoveredFinalRefs; | 264 DiscoveredList* _discoveredFinalRefs; |
265 DiscoveredList* _discoveredPhantomRefs; | 265 DiscoveredList* _discoveredPhantomRefs; |
266 | 266 DiscoveredList* _discoveredCleanerRefs; |
267 public: | 267 |
268 static int number_of_subclasses_of_ref() { return (REF_PHANTOM - REF_OTHER); } | 268 public: |
269 static int number_of_subclasses_of_ref() { return (REF_CLEANER - REF_OTHER); } | |
269 | 270 |
270 uint num_q() { return _num_q; } | 271 uint num_q() { return _num_q; } |
271 uint max_num_q() { return _max_num_q; } | 272 uint max_num_q() { return _max_num_q; } |
272 void set_active_mt_degree(uint v) { _num_q = v; } | 273 void set_active_mt_degree(uint v) { _num_q = v; } |
273 | 274 |