← Back to team overview

openjdk team mailing list archive

[Bug 1285996] [NEW] JVM-6900441 - Object.wait etc. broken when system time is set backwards

 

Public bug reported:

I am working on floodlight. We've recently been bitten by Bug
JVM-6900441 of the JVM
(http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6900441), which
causes basically all scheduling primitives (Thread.sleep,
ScheduledExecutorService.schedule, Object.wait, even Unsafe.parkNanos
etc.) to hang when the system clock (wallclock) of the OS is set back.

The fix is in jdk7u master, but not in the currently released version
7u51, nor the current ubuntu version 7u51-2.4.4-0ubuntu0.12.04.2. I have
extracted the patch from the jdk7u master ( https://gist.github.com
/andi-bigswitch/9220407) and put up a PPA with a patched version
(https://launchpad.net/~floodlight/+archive/openjdk-patch).

I was wondering if the Ubuntu maintainers are interested in releasing a
Ubuntu patched version with this fix applied? It seems like a pretty
serious bug that may affect other users to. Happy to contribute the
patch I used.

** Affects: openjdk-7 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  I am working on floodlight. We've recently been bitten by Bug
  JVM-6900441 of the JVM
  (http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6900441), which
  causes basically all scheduling primitives (Thread.sleep,
- ScheduledExectuorService.schedule, Object.wait, even Unsafe.parkNanos
+ ScheduledExecutorService.schedule, Object.wait, even Unsafe.parkNanos
  etc.) to hang when the system clock (wallclock) of the OS is set back.
  
  The fix is in jdk7u master, but not in the currently released version
  7jdku51, nor the current ubuntu version 7u51-2.4.4-0ubuntu0.12.04.2. I
  have extracted the patch from the jdk7u master ( https://gist.github.com
  /andi-bigswitch/9220407) and put up a PPA with a patched version
  (https://launchpad.net/~floodlight/+archive/openjdk-patch).
  
  I was wondering if the Ubuntu maintainers are interested in releasing a
  Ubuntu patched version with this fix applied? It seems like a pretty
  serious bug that may affect other users to. Happy to contribute the
  patch I used.

** Description changed:

  I am working on floodlight. We've recently been bitten by Bug
  JVM-6900441 of the JVM
  (http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6900441), which
  causes basically all scheduling primitives (Thread.sleep,
  ScheduledExecutorService.schedule, Object.wait, even Unsafe.parkNanos
  etc.) to hang when the system clock (wallclock) of the OS is set back.
  
  The fix is in jdk7u master, but not in the currently released version
- 7jdku51, nor the current ubuntu version 7u51-2.4.4-0ubuntu0.12.04.2. I
- have extracted the patch from the jdk7u master ( https://gist.github.com
+ 7u51, nor the current ubuntu version 7u51-2.4.4-0ubuntu0.12.04.2. I have
+ extracted the patch from the jdk7u master ( https://gist.github.com
  /andi-bigswitch/9220407) and put up a PPA with a patched version
  (https://launchpad.net/~floodlight/+archive/openjdk-patch).
  
  I was wondering if the Ubuntu maintainers are interested in releasing a
  Ubuntu patched version with this fix applied? It seems like a pretty
  serious bug that may affect other users to. Happy to contribute the
  patch I used.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1285996

Title:
  JVM-6900441 - Object.wait etc. broken when system time is set
  backwards

Status in “openjdk-7” package in Ubuntu:
  New

Bug description:
  I am working on floodlight. We've recently been bitten by Bug
  JVM-6900441 of the JVM
  (http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6900441), which
  causes basically all scheduling primitives (Thread.sleep,
  ScheduledExecutorService.schedule, Object.wait, even Unsafe.parkNanos
  etc.) to hang when the system clock (wallclock) of the OS is set back.

  The fix is in jdk7u master, but not in the currently released version
  7u51, nor the current ubuntu version 7u51-2.4.4-0ubuntu0.12.04.2. I
  have extracted the patch from the jdk7u master (
  https://gist.github.com/andi-bigswitch/9220407) and put up a PPA with
  a patched version (https://launchpad.net/~floodlight/+archive/openjdk-
  patch).

  I was wondering if the Ubuntu maintainers are interested in releasing
  a Ubuntu patched version with this fix applied? It seems like a pretty
  serious bug that may affect other users to. Happy to contribute the
  patch I used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1285996/+subscriptions


Follow ups

References