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

Enhance TLABWasteIncrement related codes to prevent an overflow

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • hotspot
    • None
    • gc

      JDK-8142341 will add 'range' and 'constraint' for TLABWasteIncrement.
      The reason for 'constraint' is to prevent an overflow at ThreadLocalAllocBuffer::record_slow_allocation() when adding refill_waste_limit() and refill_waste_limit_increment().
      As this function would be called many times, we need to prevent an overflow at record_slow_allocation() as well.

      Same work should be done places which calls ThreadLocalAllocBuffer::refill_waste_limit_increment() at each generated codes. (e.g. MacroAssembler::tlab_refill() )

            Unassigned Unassigned
            sangheki Sangheon Kim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: