< prev index next >

src/hotspot/share/interpreter/oopMapCache.hpp

Print this page

        

*** 90,99 **** --- 90,100 ---- // mask_size <= small_mask_limit, // ptr to bit mask otherwise // "protected" so that sub classes can // access it without using trickery in // methd bit_mask(). + int _num_oops; #ifdef ASSERT bool _resource_allocate_bit_mask; #endif // access methods
*** 137,146 **** --- 138,148 ---- void print() const; int number_of_entries() const { return mask_size() / bits_per_entry; } bool is_dead(int offset) const { return (entry_at(offset) & (1 << dead_bit_number)) != 0; } bool is_oop (int offset) const { return (entry_at(offset) & (1 << oop_bit_number )) != 0; } + int num_oops() const { return _num_oops; } int expression_stack_size() const { return _expression_stack_size; } };
< prev index next >