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

Make whitebox API functions more stable

    XMLWordPrintable

    Details

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

      Whitebox API

    • Subcomponent:
    • Resolved In Build:
      b64

      Backports

        Description

        Executing the following code crashes the VM with a segmentation fault. The whitebox API functions should be more stable. In this case a NullPointerException should be thrown.

        public class Test {
            private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();

            static public void main(String[] args) {
                WHITE_BOX.isMethodCompiled(null);
            }
        }

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kzhaldyb Kirill Zhaldybin (Inactive)
                Reporter:
                thartmann Tobias Hartmann
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: