Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8263067

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

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • 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.

            yyang Yi Yang
            yyang Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: