Merging BSDPort into HotSpot mainline

roger hoover rhoover at apple.com
Wed Aug 3 05:19:49 PDT 2011


In answer to David's question, the current framework encourages the addition of BSD as a new OS, and that is what the diff proposes.  The additional linux/bsd diffs were created for code understanding and this discussion.  The forthcoming Mac OS X changes will be ifdef modifications inside the BSD OS.

As someone who has spent the many years porting much of the solaris (and later linux) code into such a parallel os, John's suggested refactoring is something worth looking at.

roger

On Aug 3, 2011, at    4:39 AM, John Pampuch wrote:

> Ultimately, this could give us the impetus to refactor into a posix tree with sub-factorings for Linux, BSD and Solaris but expediency might prevent that from happening in short order.
> 
> -John
> 
> Sent from my other location
> 
> On Aug 3, 2011, at 12:57 AM, David Holmes <David.Holmes at oracle.com> wrote:
> 
>> I've only given this a cursory glance so far.
>> 
>> Is the intent to add BSD as a new supported OS in the src/build tree 
>> (which would argue for the long touted factoring out of the POSIX code 
>> from Linux and Solaris - assuming BSD is primarily POSIX-like)? Or is 
>> the intent to sprinkle "ifdef BSD" through the linux code (or Solaris? 
>> which is closer in API support?
>> 
>> Thanks,
>> David Holmes
>> 
>> roger hoover said the following on 07/29/11 03:17:
>>> As the first of many steps to integrate the Mac OS X Port into mainline jdk8, we need to merge the BSDPort code (on which the Mac OS X Port is based) into the jdk8 mainline.  This message is intended to begin the discussion of that merge for HotSpot.
>>> 
>>> To make the process manageable, we've looked through the diff and have attempted to break up the changes into some smaller pieces for better discussion and analysis.  In particular, since many of the changes are modifications upon the linux port, we've included diffs between linux and bsd for those files as a way to understand the otherwise huge additions of new stuff.
>>> 
>>> I've created wiki pages off the BSDPort page that contains these diffs.  Please add your comments and analysis to these pages so that It becomes a record of issues to be addressed in this merge.  The root sub-page is:
>>> http://wikis.sun.com/display/OpenJDK/BSDPort%2C+Description+of+jdk7+changes
>>> 
>>> We're going to need someone on Oracle's hotspot team to help with this.  What is the next step?  Do I file a bug or change request?
>>> 
>>> roger
>>> 



More information about the hotspot-dev mailing list