59 // Iterators |
59 // Iterators |
60 int oop_oop_iterate(oop obj, OopClosure* blk); |
60 int oop_oop_iterate(oop obj, OopClosure* blk); |
61 int oop_oop_iterate_m(oop obj, OopClosure* blk, MemRegion mr); |
61 int oop_oop_iterate_m(oop obj, OopClosure* blk, MemRegion mr); |
62 |
62 |
63 // Allocation profiling support |
63 // Allocation profiling support |
64 // no idea why this is pure virtual and not in Klass ??? |
|
65 juint alloc_size() const { return _alloc_size; } |
64 juint alloc_size() const { return _alloc_size; } |
66 void set_alloc_size(juint n) { _alloc_size = n; } |
65 void set_alloc_size(juint n) { _alloc_size = n; } |
67 |
66 |
68 public: |
|
69 // Printing |
67 // Printing |
70 void oop_print_value_on(oop obj, outputStream* st); |
68 void oop_print_value_on(oop obj, outputStream* st); |
71 #ifndef PRODUCT |
|
72 void oop_print_on(oop obj, outputStream* st); |
69 void oop_print_on(oop obj, outputStream* st); |
73 #endif |
|
74 |
70 |
75 public: |
|
76 // Verification |
71 // Verification |
77 const char* internal_name() const; |
72 const char* internal_name() const; |
78 void oop_verify_on(oop obj, outputStream* st); |
73 void oop_verify_on(oop obj, outputStream* st); |
79 // tells whether obj is partially constructed (gc during class loading) |
74 // tells whether obj is partially constructed (gc during class loading) |
80 bool oop_partially_loaded(oop obj) const; |
75 bool oop_partially_loaded(oop obj) const; |