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

Add stack size check methods to WhiteBox API

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Environment:

      WhiteBox API

    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      VM JSR292 tests generate method handle call graphs which use a lot of stack. On embedded machines the stack size is limited, so we often get StackOverflowError. On the big machines we still want to generate big method handle graphs. The best solution to this seems to check remaining stack size on-the-fly in the tests. Since there is no way to query remaining stack size from VM, we propose adding such methods to WhiteBox API.

      A diff with suggested changes is attached

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kshiroko Kirill Shirokov (Inactive)
                Reporter:
                kshiroko Kirill Shirokov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: