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

Sparc MacroAssembler::incr_allocated_bytes() needs a RegisterOrConstant argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs20
    • hs20
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: