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

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

        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).

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: