Mercurial > hg > truffle
comparison src/share/vm/oops/klass.cpp @ 8001:db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Summary: Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
author | jprovino |
---|---|
date | Wed, 23 Jan 2013 13:02:39 -0500 |
parents | 90273fc0a981 |
children | 3c9bc17b9403 |
comparison
equal
deleted
inserted
replaced
7619:46e60405583b | 8001:db9981fd3124 |
---|---|
35 #include "oops/instanceKlass.hpp" | 35 #include "oops/instanceKlass.hpp" |
36 #include "oops/klass.inline.hpp" | 36 #include "oops/klass.inline.hpp" |
37 #include "oops/oop.inline2.hpp" | 37 #include "oops/oop.inline2.hpp" |
38 #include "runtime/atomic.hpp" | 38 #include "runtime/atomic.hpp" |
39 #include "utilities/stack.hpp" | 39 #include "utilities/stack.hpp" |
40 #ifndef SERIALGC | 40 #include "utilities/macros.hpp" |
41 #if INCLUDE_ALL_GCS | |
41 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp" | 42 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp" |
42 #include "gc_implementation/parallelScavenge/psPromotionManager.hpp" | 43 #include "gc_implementation/parallelScavenge/psPromotionManager.hpp" |
43 #include "gc_implementation/parallelScavenge/psScavenge.hpp" | 44 #include "gc_implementation/parallelScavenge/psScavenge.hpp" |
44 #endif | 45 #endif // INCLUDE_ALL_GCS |
45 | 46 |
46 void Klass::set_name(Symbol* n) { | 47 void Klass::set_name(Symbol* n) { |
47 _name = n; | 48 _name = n; |
48 if (_name != NULL) _name->increment_refcount(); | 49 if (_name != NULL) _name->increment_refcount(); |
49 } | 50 } |