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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: