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

Add stack size check methods to WhiteBox API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u20, 9
    • hotspot
    • WhiteBox API

    • b17

      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

        1. hsx25-whitebox-stack.diff
          6 kB
          Kirill Shirokov
        2. hsx-whitebox-stack-v4.2.diff
          7 kB
          Kirill Shirokov

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

              Created:
              Updated:
              Resolved: