comparison src/share/vm/runtime/vmStructs.cpp @ 11033:d9eed26d638a

8009575: Reduce Symbol::_refcount from 4 bytes to 2 bytes Summary: Added Atomic::inc(short*) to support this change. Reviewed-by: coleenp, dcubed, dholmes, minqi
author iklam
date Sun, 23 Jun 2013 22:08:28 -0700
parents f2110083203d
children cedf20e2a655 583211d4b16b
comparison
equal deleted inserted replaced
11032:b7bc7c94b4b5 11033:d9eed26d638a
377 nonstatic_field(ConstMethod, _max_stack, u2) \ 377 nonstatic_field(ConstMethod, _max_stack, u2) \
378 nonstatic_field(ConstMethod, _max_locals, u2) \ 378 nonstatic_field(ConstMethod, _max_locals, u2) \
379 nonstatic_field(ConstMethod, _size_of_parameters, u2) \ 379 nonstatic_field(ConstMethod, _size_of_parameters, u2) \
380 nonstatic_field(ObjArrayKlass, _element_klass, Klass*) \ 380 nonstatic_field(ObjArrayKlass, _element_klass, Klass*) \
381 nonstatic_field(ObjArrayKlass, _bottom_klass, Klass*) \ 381 nonstatic_field(ObjArrayKlass, _bottom_klass, Klass*) \
382 volatile_nonstatic_field(Symbol, _refcount, int) \ 382 volatile_nonstatic_field(Symbol, _refcount, short) \
383 nonstatic_field(Symbol, _identity_hash, int) \ 383 nonstatic_field(Symbol, _identity_hash, int) \
384 nonstatic_field(Symbol, _length, unsigned short) \ 384 nonstatic_field(Symbol, _length, unsigned short) \
385 unchecked_nonstatic_field(Symbol, _body, sizeof(jbyte)) /* NOTE: no type */ \ 385 unchecked_nonstatic_field(Symbol, _body, sizeof(jbyte)) /* NOTE: no type */ \
386 nonstatic_field(TypeArrayKlass, _max_length, int) \ 386 nonstatic_field(TypeArrayKlass, _max_length, int) \
387 \ 387 \