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

Ryan Betts rbetts at gmail.com
Wed Mar 10 08:58:24 PST 2010


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.



More information about the jdk6-dev mailing list