< prev index next >
src/hotspot/share/oops/generateOopMap.hpp
Print this page
*** 99,109 ****
// CellTypeState
enum { uninit_bit = (int)(nth_bit(31)),
ref_bit = nth_bit(30),
val_bit = nth_bit(29),
addr_bit = nth_bit(28),
- valuetype_bit = nth_bit(27),
live_bits_mask = (int)(bits_mask & ~uninit_bit) };
// These constants are used for manipulating the INFO portion of a
// CellTypeState
enum { top_info_bit = nth_bit(26),
--- 99,108 ----
*** 129,139 ****
enum { bottom_value = 0,
uninit_value = (int)(uninit_bit | info_conflict),
ref_value = ref_bit,
ref_conflict = ref_bit | info_conflict,
val_value = val_bit | info_conflict,
- valuetype_conflict = valuetype_bit | info_conflict,
addr_value = addr_bit,
addr_conflict = addr_bit | info_conflict };
public:
--- 128,137 ----
*** 181,203 ****
static CellTypeState make_lock_ref(int bci) {
assert(bci >= 0 && bci < ref_data_mask, "line out of range");
return make_any(ref_bit | not_bottom_info_bit | (bci & ref_data_mask));
}
-
- static CellTypeState make_slot_valuetype(int slot_num) {
- assert(slot_num >= 0 && slot_num < valuetype_data_mask, "slot out of range");
- return make_any(valuetype_bit | not_bottom_info_bit | valuetype_slot_bit |
- (slot_num & valuetype_data_mask));
- }
-
- static CellTypeState make_line_valuetype(int bci) {
- assert(bci >= 0 && bci < valuetype_data_mask, "line out of range");
- return make_any(valuetype_bit | not_bottom_info_bit |
- (bci & valuetype_data_mask));
- }
-
// Query methods:
bool is_bottom() const { return _state == 0; }
bool is_live() const { return ((_state & live_bits_mask) != 0); }
bool is_valid_state() const {
// Uninitialized and value cells must contain no data in their info field:
--- 179,188 ----
*** 216,232 ****
}
bool is_address() const { return ((_state & bits_mask) == addr_bit); }
bool is_reference() const { return ((_state & bits_mask) == ref_bit); }
bool is_value() const { return ((_state & bits_mask) == val_bit); }
- bool is_valuetype() const { return ((_state & bits_mask) == valuetype_bit); }
bool is_uninit() const { return ((_state & bits_mask) == (uint)uninit_bit); }
bool can_be_address() const { return ((_state & addr_bit) != 0); }
bool can_be_reference() const { return ((_state & ref_bit) != 0); }
bool can_be_value() const { return ((_state & val_bit) != 0); }
- bool can_be_valuetype() const { return ((_state & valuetype_bit) != 0); }
bool can_be_uninit() const { return ((_state & uninit_bit) != 0); }
bool is_info_bottom() const { return ((_state & not_bottom_info_bit) == 0); }
bool is_info_top() const { return ((_state & top_info_bit) != 0); }
int get_info() const {
--- 201,215 ----
*** 259,270 ****
// Default values of common values
static CellTypeState bottom;
static CellTypeState uninit;
static CellTypeState ref;
static CellTypeState value;
- static CellTypeState valuetype;
- static CellTypeState refOrValueType;
static CellTypeState refUninit;
static CellTypeState varUninit;
static CellTypeState top;
static CellTypeState addr;
};
--- 242,251 ----
*** 415,433 ****
void ppop1 (CellTypeState out);
void ppop (CellTypeState *out);
void ppop_any (int poplen);
void pp (CellTypeState *in, CellTypeState *out);
void pp_new_ref (CellTypeState *in, int bci);
- void pp_new_valuetype (CellTypeState *in, int bci);
void ppdupswap (int poplen, const char *out);
void do_ldc (int bci);
void do_astore (int idx);
- void do_vstore (int idx);
void do_jsr (int delta);
void do_field (int is_get, int is_static, int idx, int bci);
void do_method (int is_static, int idx, int bci);
! void do_vwithfield (int idx, int bci);
void do_multianewarray (int dims, int bci);
void do_monitorenter (int bci);
void do_monitorexit (int bci);
void do_return_monitor_check ();
void do_checkcast ();
--- 396,412 ----
void ppop1 (CellTypeState out);
void ppop (CellTypeState *out);
void ppop_any (int poplen);
void pp (CellTypeState *in, CellTypeState *out);
void pp_new_ref (CellTypeState *in, int bci);
void ppdupswap (int poplen, const char *out);
void do_ldc (int bci);
void do_astore (int idx);
void do_jsr (int delta);
void do_field (int is_get, int is_static, int idx, int bci);
void do_method (int is_static, int idx, int bci);
! void do_withfield (int idx, int bci);
void do_multianewarray (int dims, int bci);
void do_monitorenter (int bci);
void do_monitorexit (int bci);
void do_return_monitor_check ();
void do_checkcast ();
< prev index next >