Tracking bug fix (sun) 6822370 to open JDK 6 release.

Andrew John Hughes ahughes at redhat.com
Wed Mar 10 09:22:53 PST 2010


On 10 March 2010 16:58, Ryan Betts <rbetts at gmail.com> wrote:
> Hello All,
>
> I am trying to determine if (or when) the fix for a specific defect is present in the latest openJDK6 release. I read the project's jdk6/7/hotspot genealogy description and hope to be forgiven for my continued confusion between hsx and jdk6.
>
> Defect: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=2185608
>
> Fix is claimed present in Sun's JDK 6u18 release.
> (http://java.sun.com/javase/6/webnotes/6u18.html defect 6822370).
>
> The relevant openJDK repo revisions appear to be:
> http://hg.openjdk.java.net/hsx/hsx16/baseline/rev/49bd3de668dc (Dec. 1st, 2009)
> http://hg.openjdk.java.net/hsx/hsx16/master/rev/49bd3de668dc (Dec. 5th, 2009)
>
> I downloaded the current openJDK source, and I do not see this change present:
> http://download.java.net/openjdk/jdk6/promoted/b18/openjdk-6-src-b18-16_feb_2010.tar.gz
>
> From the source download:
>
> void Parker::park(bool isAbsolute, jlong time) {
>  // Optional fast-path check:
>  // Return immediately if a permit is available.
>  if (_counter > 0) {
>      _counter = 0 ;
>      return ;
>  }
>
>
> From the annotation:
>
> http://hg.openjdk.java.net/hsx/hsx16/master/annotate/b9408ac1b596/src/os/linux/vm/os_linux.cpp
>
> void Parker::park(bool isAbsolute, jlong time) {
>  // Optional fast-path check:
>  // Return immediately if a permit is available.
>  if (_counter > 0) {
>      _counter = 0 ;
> [dholmes at 982] OrderAccess::fence();
>      return ;
>  }
>
>
> Thank you for any clarification.
> *--Ryan.
>
>

The fix is in OpenJDK6's HotSpot Mercurial repository:

$ hg log -R ../hotspot -k 6822370
changeset:   1108:49bd3de668dc
user:        dholmes
date:        Tue Dec 01 19:10:24 2009 -0500
summary:     6822370: ReentrantReadWriteLock: threads hung when there
are no threads holding onto the lock (Netra x4450)

and will thus be in b19 when released.

Daniel, not only are you still sending HTML e-mails, but you're also
now attaching graphics to them?
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8


More information about the jdk6-dev mailing list