mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
4718400
: Many quantities are held as signed that should be unsigned
Reviewed-by: coleenp, rbackman, dholmes
This commit is contained in:
parent
168081efc8
commit
93be099ccb
52 changed files with 95 additions and 110 deletions
|
@ -993,7 +993,7 @@ public:
|
|||
GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots,
|
||||
Array<InstanceKlass*>* transitive_interfaces);
|
||||
bool can_be_primary_super_slow() const;
|
||||
int oop_size(oop obj) const { return size_helper(); }
|
||||
size_t oop_size(oop obj) const { return size_helper(); }
|
||||
// slow because it's a virtual call and used for verifying the layout_helper.
|
||||
// Using the layout_helper bits, we can call is_instance_klass without a virtual call.
|
||||
DEBUG_ONLY(bool is_instance_klass_slow() const { return true; })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue