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

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

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6u17
    • Fix Version/s: 7
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b79
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: