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

-XX:+PrintPreciseBiasedLockingStatistics fails on amd64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86
    • OS:
      generic

      Description

      -XX:+PrintPreciseBiasedLockingStatistics on amd64 (any OS) causes random
      failures at runtime.
      The BiasedLockingCounters structure containing the counters is
      malloc'ed and ends up being far from the code cache. In the
      following MacroAssembler method, check_reach returns false:

        void incl(Address dst)
        {
          check_reach(dst) ? Assembler::incl(dst) :
                             Assembler::incl(Address(rscratch1));
        }

      dst is the malloc'ed space for the counters. Looks like
      we fail to initialize the register rscratch1 with dst,
      and just increment at whatever address is in R10 (rscratch1).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rknippelsunw Ross Knippel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: