Merging BSDPort into HotSpot mainline

Greg Lewis glewis at eyesbeyond.com
Wed Sep 14 11:44:59 PDT 2011


G'day Tom,

On Tue, Sep 13, 2011 at 02:18:15PM -0700, Tom Rodriguez wrote:
> I've finally prepared a set of changes against the latest hotspot-comp
> with the bsd-port changes.  They compile on all our supported platforms
> with the jdk7 and jdk6 tools and I also built on Snow Leopard and
> incorporated a few extra changes there to make it all compile.
> I've prepared several webrevs to ease reviewing.
> 
> http://cr.openjdk.java.net/~never/7089790_full
> http://cr.openjdk.java.net/~never/7089790_headers_only
> http://cr.openjdk.java.net/~never/7089790_shared
> http://cr.openjdk.java.net/~never/7089790_bsd_only
> http://cr.openjdk.java.net/~never/7089790_bsd_vs_linux
> 
[snip]
> 
> Who all should I mark as the contributors for these changes?  Roger,
> Greg and Kurt?  If you could take a copy of the bits and confirm that I
> haven't introduced any issues on BSD that would be greatly appreciated.
> Thanks for your patience.

Built and lightly tested on FreeBSD.  Looks good from that perspective.

I sent you separate mail privately about the contributors from the BSD
port side.  Roger, can you please provide a list of the contributors from
the team at Apple?

> On Aug 31, 2011, at 11:23 AM, Kurt Miller wrote:
> 
> > On Wednesday 31 August 2011 11:30:45 am Greg Lewis wrote:
> >> On Wed, Aug 03, 2011 at 11:24:22AM -0400, Kurt Miller wrote:
> >>> On Wednesday 03 August 2011 01:41:01 am Greg Lewis wrote:
> >>>> On Tue, Aug 02, 2011 at 05:18:17PM -0400, Kurt Miller wrote:
> >>>>> On Tuesday 02 August 2011 08:47:39 am Tom Rodriguez wrote:
> >>>>>> What are the UseMembar changes about?  They are fine, I'm curious why they are needed.  I believe !UseMembar is more efficient.
> >>>>> 
> >>>>> In the 1.5 update time-frame Sun was working on changing UseMembar from default true to false. When I intergrated this change into FreeBSD's port we started hitting intermittant segfaults that I debugged and traced back to the UseMembar setting change. Since releasing stable certified binaries quickly was one of the goals, I reverted the UseMembar default back to true instead of taking time to find the root cause. More details can be found in the freebsd-port thread below.
> >>>>> 
> >>>>> http://markmail.org/message/rigdtb5heiliutec
> >>>>> 
> >>>>> IIRC, when I worked on porting BSD hotspot support to 1.6 I tried setting UseMembar default to off/false and it still caused intermittant segfaults. Although, I don't recall if I checked this again with OpenJDK7 on FreeBSD SMP systems.
> >>>> 
> >>>> Do we have a test case that shows this up?  I have a FreeBSD SMP system I
> >>>> can run it on.
> >>> 
> >>> Hi Greg,
> >>> 
> >>> Refreshing my memory by reading the freebsd-java list for this time-frame
> >>> and I see that it was rather easy to reproduce on SMP hardware. Reports
> >>> included using tomcat, netbeans and in one case 'java -version'. Here's the
> >>> search I used:
> >>> 
> >>> http://markmail.org/search/list:org%2Efreebsd%2Efreebsd-java+sigbus+diablo+1%2E5%2E0_06
> >> 
> >> I've tried setting UseMemBar to false and ran the resulting JDK on a few
> >> different things, including code designed to produce I/O and CPU load
> >> across a thread pool and I haven't been able to produce any problems.
> >> 
> >> I didn't try with Tomcat and I tried Eclipse rather than Netbeans, but it
> >> does look like we can get off of the UseMemBar setting.
> > 
> > That's great. OpenBSD will work with it set to false too. Perhaps we should get
> > some testing on Mac OS/X MP to confirm there's no problem there too.
> > 
> > Thanks,
> > -Kurt
> 

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the hotspot-dev mailing list