Lucene - Core
  1. Lucene - Core
  2. LUCENE-3235

TestDoubleBarrelLRUCache hangs under Java 1.5, 3.x and trunk, likely JVM bug

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0, 3.1, 3.2, 3.3, 3.4
    • Fix Version/s: 4.9, Trunk
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Not sure what's going on yet... but under Java 1.6 it seems not to hang bug under Java 1.5 hangs fairly easily, on Linux. Java is 1.5.0_22.

      I suspect this is relevant: http://stackoverflow.com/questions/3292577/is-it-possible-for-concurrenthashmap-to-deadlock which refers to this JVM bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6865591 which then refers to this one http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6822370

      It looks like that last bug was fixed in Java 1.6 but not 1.5.

      1. LUCENE-3235.patch
        3 kB
        Robert Muir
      2. LUCENE-3235.patch
        2 kB
        Uwe Schindler
      3. LUCENE-3235.patch
        3 kB
        Uwe Schindler

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development