Mercurial > hg > graal-compiler
comparison src/share/vm/oops/methodData.hpp @ 12316:190899198332
7195622: CheckUnhandledOops has limited usefulness now
Summary: Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
Contributed-by: lois.foltan@oracle.com
author | hseigel |
---|---|
date | Thu, 26 Sep 2013 10:25:02 -0400 |
parents | 69f26e8e09f9 |
children | cefad50507d8 d13d7aba8c12 |
comparison
equal
deleted
inserted
replaced
12315:c1fbf21c7397 | 12316:190899198332 |
---|---|
331 } | 331 } |
332 int int_at_unchecked(int index) { | 332 int int_at_unchecked(int index) { |
333 return (int)data()->cell_at(index); | 333 return (int)data()->cell_at(index); |
334 } | 334 } |
335 void set_oop_at(int index, oop value) { | 335 void set_oop_at(int index, oop value) { |
336 set_intptr_at(index, (intptr_t) value); | 336 set_intptr_at(index, cast_from_oop<intptr_t>(value)); |
337 } | 337 } |
338 oop oop_at(int index) { | 338 oop oop_at(int index) { |
339 return (oop)intptr_at(index); | 339 return cast_to_oop(intptr_at(index)); |
340 } | 340 } |
341 | 341 |
342 void set_flag_at(int flag_number) { | 342 void set_flag_at(int flag_number) { |
343 data()->set_flag_at(flag_number); | 343 data()->set_flag_at(flag_number); |
344 } | 344 } |