modify hotspot's makefie to be of linux-kernel style

Erik Trimble erik.trimble at oracle.com
Fri Jul 16 09:39:55 PDT 2010


On 7/16/2010 7:07 AM, Yongqiang Yang wrote:
> Hi,all
>
>     The hotspot's makefile is difficult to understand, so I think it's 
> necessary to modify  it to be of linux-kernel style.  What's your 
> opinion on this?
> -- 
> Best Wishes
> Yongqiang Yang
>

The top-level makefile is actually fairly straight-forward. However, the 
entire build setup could use a reasonable overhaul (though, frankly, the 
JDK build setup is much more in need of a cleanup than Hotspot). More 
than anything else, increasing parallelism in the build is of a high 
priority.  We would certainly entertain someone's interest in 
re-designing the Hotspot or JDK build scripts.

That said, I'd strongly NOT recommend considering anything based on the 
Kbuild architecture of the Linux kernel. Kbuild works for the Linux 
kernel, and, really, not much else.


And, one major concern with any re-architecting the Hotspot build 
system:  whatever the new design is, it MUST work on all platforms. That 
is, it shouldn't be a mishmash of VisualStudio project files, ant 
scripts, Makefiles, and perl/python script.  It needs to have a 
identical (or, at least as identical as possible) implementation on at 
least these platforms:

Win32
Win64
Solaris x64
Solaris SPARC
Linux x64
Linux x86
MacOS X

And should be trivially portable to any UNIX-like OS.

-- 
Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA



More information about the hotspot-dev mailing list