equal
deleted
inserted
replaced
30 int oop_size(oop obj) const; |
30 int oop_size(oop obj) const; |
31 int klass_oop_size() const { return object_size(); } |
31 int klass_oop_size() const { return object_size(); } |
32 |
32 |
33 // Allocation |
33 // Allocation |
34 DEFINE_ALLOCATE_PERMANENT(constantPoolCacheKlass); |
34 DEFINE_ALLOCATE_PERMANENT(constantPoolCacheKlass); |
35 constantPoolCacheOop allocate(int length, TRAPS); |
35 constantPoolCacheOop allocate(int length, bool is_conc_safe, TRAPS); |
36 static klassOop create_klass(TRAPS); |
36 static klassOop create_klass(TRAPS); |
37 |
37 |
38 // Casting from klassOop |
38 // Casting from klassOop |
39 static constantPoolCacheKlass* cast(klassOop k) { |
39 static constantPoolCacheKlass* cast(klassOop k) { |
40 assert(k->klass_part()->oop_is_constantPoolCache(), "cast to constantPoolCacheKlass"); |
40 assert(k->klass_part()->oop_is_constantPoolCache(), "cast to constantPoolCacheKlass"); |
46 int object_size() const { return align_object_size(header_size()); } |
46 int object_size() const { return align_object_size(header_size()); } |
47 |
47 |
48 // Garbage collection |
48 // Garbage collection |
49 void oop_follow_contents(oop obj); |
49 void oop_follow_contents(oop obj); |
50 int oop_adjust_pointers(oop obj); |
50 int oop_adjust_pointers(oop obj); |
|
51 virtual bool oop_is_conc_safe(oop obj) const; |
51 |
52 |
52 // Parallel Scavenge and Parallel Old |
53 // Parallel Scavenge and Parallel Old |
53 PARALLEL_GC_DECLS |
54 PARALLEL_GC_DECLS |
54 |
55 |
55 // Iterators |
56 // Iterators |