JDK GNU/Linux SPARC and MIPS
Steve.Goldman at Sun.COM
Tue Sep 11 06:46:56 PDT 2007
Sunil Amitkumar Janki wrote:
> Am I naive to think that Solaris and Linux SPARC should be
> almost the same? I have copied the solaris_sparc directory
> to linux_sparc and changed all references to Solaris to Linux.
That is certainly how thing usually go.
Now if I can put a project in someone's head one of the things we've
wanted to for a long time is to have an os directory "*nix" where most
os the solaris/linux code would go and eliminate the redundancy. Then
add something like os_flavor to the MakeDeps macros and platform files
to cover the place where linux and solaris differ. I don't know if this
then causes factoring <os_cpu> into both <os_cpu> and <os_flavor_cpu> or
not. I suspect it does.
Speaking of refactoring like this the i486 and amd64 cpu directories are
about to (finally!) merge into a single x86 directory. More about that
More information about the hotspot-dev