LinearLeastSquareFit::_sum_x_squared should be initialized

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • 7
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • gc
    • generic
    • generic

      In src/share/vm/gc_implementation/shared/gcUtil.hpp, the constructor for
      LinearLeastSquareFit does not initialize _sum_x_squared. It should be
      initialied to zero.

      Thanks to Bill Fulton of UBS for finding the problem using valgrid.
      Also initialize _intercept and _slope to 0.

            Assignee:
            Paul Hohensee
            Reporter:
            Paul Hohensee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: