hotspot/src/share/vm/oops/klass.cpp
changeset 15484 7395ace8a11a
parent 15437 eabd4555d072
parent 15482 470d0b0c09f1
child 15928 f9d5c6e4107f
equal deleted inserted replaced
15470:998186997e90 15484:7395ace8a11a
    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 }