equal
deleted
inserted
replaced
36 #include "oops/instanceKlass.hpp" |
36 #include "oops/instanceKlass.hpp" |
37 #include "oops/klass.inline.hpp" |
37 #include "oops/klass.inline.hpp" |
38 #include "oops/oop.inline2.hpp" |
38 #include "oops/oop.inline2.hpp" |
39 #include "runtime/atomic.hpp" |
39 #include "runtime/atomic.hpp" |
40 #include "utilities/stack.hpp" |
40 #include "utilities/stack.hpp" |
41 #ifndef SERIALGC |
41 #include "utilities/macros.hpp" |
|
42 #if INCLUDE_ALL_GCS |
42 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp" |
43 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp" |
43 #include "gc_implementation/parallelScavenge/psPromotionManager.hpp" |
44 #include "gc_implementation/parallelScavenge/psPromotionManager.hpp" |
44 #include "gc_implementation/parallelScavenge/psScavenge.hpp" |
45 #include "gc_implementation/parallelScavenge/psScavenge.hpp" |
45 #endif |
46 #endif // INCLUDE_ALL_GCS |
46 |
47 |
47 void Klass::set_name(Symbol* n) { |
48 void Klass::set_name(Symbol* n) { |
48 _name = n; |
49 _name = n; |
49 if (_name != NULL) _name->increment_refcount(); |
50 if (_name != NULL) _name->increment_refcount(); |
50 } |
51 } |