Sparc MacroAssembler::incr_allocated_bytes() needs a RegisterOrConstant argument

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs20
    • Affects Version/s: hs20
    • Component/s: hotspot
    • None
    • b07
    • sparc
    • solaris
    • Not verified

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: