[lworld] Integrated: 8263067: [lworld] Improve buffer instance allocation in MacroAssembler::store_inline_type_fields_to_buf

Yi Yang yyang at openjdk.java.net
Mon Mar 8 14:24:17 UTC 2021


On Fri, 5 Mar 2021 07:24:34 GMT, Yi Yang <yyang at openjdk.org> wrote:

> 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 generate safer and faster code. (See details on JBS). All jtreg tests are passed with slowdebug mode. When UseTLAB is disabled, we can also try to allocate the buffer object in eden space.
> 
> Thanks!
> Yang

This pull request has now been integrated.

Changeset: d3001a61
Author:    Yi Yang <yyang at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/d3001a61
Stats:     46 lines in 2 files changed: 11 ins; 9 del; 26 mod

8263067: [lworld] Improve buffer instance allocation in MacroAssembler::store_inline_type_fields_to_buf

Reviewed-by: thartmann

-------------

PR: https://git.openjdk.java.net/valhalla/pull/362


More information about the valhalla-dev mailing list