-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
-
x86
-
generic
TLAB allocation in MacroAssembler::store_inline_type_fields_to_buf looks duplicated with MacroAssembler::tlab_allocate, we might use existing MacroAssembler::tlab_allocate instead of duplicated ones. It will add more verifications(__ verify_tlab() in debug mode) and use one less instruction(but add one more instruction in template interpreter). When UseTLAB is disabled, we can also try to allocate the buffer object in eden space.