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

Pure Java implementations of java.lang.StrictMath.floor(double) & java.lang.StrictMath.ceil(double)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 7
    • 6u17
    • core-libs
    • b79
    • generic
    • generic

    Backports

      Description

        On workloads / programs which make very frequent calls to java.lang.StrictMath.floor(double) and java.lang.StrictMath(double) may exhibit symptoms of high sys CPU usage as a result of frequent safepoint polling which occur when crossing the JNI to Java boundary.

        This safepoint polling, exhibiting sys CPU usage could be elided by implementing pure Java implementations of java.lang.StrictMath.floor(double) and java.lang.StrictMath.ceil(double).

        Attachments

          Issue Links

            Activity

              People

                darcy Joe Darcy
                huntch Charlie Hunt
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: