Mercurial > hg > truffle
comparison src/share/vm/oops/objArrayKlass.hpp @ 4970:33df1aeaebbf
Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 13:10:13 +0100 |
parents | 069ab3f976d3 |
children | b632e80fc9dc |
comparison
equal
deleted
inserted
replaced
4703:2cfb7fb2dce7 | 4970:33df1aeaebbf |
---|---|
45 klassOop bottom_klass() const { return _bottom_klass; } | 45 klassOop bottom_klass() const { return _bottom_klass; } |
46 void set_bottom_klass(klassOop k) { oop_store_without_check((oop*) &_bottom_klass, (oop) k); } | 46 void set_bottom_klass(klassOop k) { oop_store_without_check((oop*) &_bottom_klass, (oop) k); } |
47 oop* bottom_klass_addr() { return (oop*)&_bottom_klass; } | 47 oop* bottom_klass_addr() { return (oop*)&_bottom_klass; } |
48 | 48 |
49 // Compiler/Interpreter offset | 49 // Compiler/Interpreter offset |
50 static int element_klass_offset_in_bytes() { return offset_of(objArrayKlass, _element_klass); } | 50 static ByteSize element_klass_offset() { return in_ByteSize(sizeof(klassOopDesc) + offset_of(objArrayKlass, _element_klass)); } |
51 | 51 |
52 // Dispatched operation | 52 // Dispatched operation |
53 bool can_be_primary_super_slow() const; | 53 bool can_be_primary_super_slow() const; |
54 objArrayOop compute_secondary_supers(int num_extra_slots, TRAPS); | 54 objArrayOop compute_secondary_supers(int num_extra_slots, TRAPS); |
55 bool compute_is_subtype_of(klassOop k); | 55 bool compute_is_subtype_of(klassOop k); |