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

RFE: Remove unncessary volatile usages in java.math.BigDecimal and related classes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Cannot Reproduce
    • P3
    • None
    • 7
    • core-libs
    • None
    • generic
    • generic

    Description

      In java.lang.BigDecimal implementation, we seem to declare several memebers such as "precision, stringCache" as "volatile". Even though volatile read is only slightly slower than normal read, but volatile write is much slower than normal store/write. Intel folks found that by removing the volatile uses, they noticed some meaningful differences on some benchmarks such as derby inside SPECjvm2007.

      Attachments

        Issue Links

          Activity

            People

              darcy Joe Darcy
              xlu Xiaobin Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: