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

PerMethodTrapLimit and PerBytecodeRecompilationCutoff should be different values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • hs17
    • hs17
    • hotspot
    • None
    • sparc
    • solaris_9

      PerMethodTrapLimit and PerBytecodeRecompilationCutoff are currently set to the same value but this means that as soon as you cross the PerMethodTrapLimit line you will also make the method not compilable. I think this logic has never really be exercised before but if you have a lot of threads running the same code and hitting the safe uncommon trap then you can quickly overflow this when a simple recompile will end up recovering from it. The underlying problem is that the machinery for recording this doesn't have enough detail about what's really going on from a time and number of threads perspective.

            never Tom Rodriguez
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: