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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: