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

Sparc MacroAssembler::incr_allocated_bytes() needs a RegisterOrConstant argument

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs20
    • Fix Version/s: hs20
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      sparc
    • OS:
      solaris
    • Verification:
      Not verified

      Backports

        Description

        The fix for 7003271 added an new method, MacroAssembler::incr_allocated_bytes(),
        that increments a per-thread running total of allocated-on-the-Java-heap bytes
        for the case of direct allocation in eden or the old generation. The code does
        not account for a constant size being out of range of a simm13 and thus needing
        to be loaded into a register before use, resulting in guarantee failures when
        generating an add instruction.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                phh Paul Hohensee
                Reporter:
                phh Paul Hohensee
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: