6348631 - request for review
Alan Bateman
Alan.Bateman at oracle.com
Fri Nov 19 11:29:50 PST 2010
Volker Simonis wrote:
> Sound good!
>
> And what are the concrete plans: do you want to call into the VM and
> use it's implementations?
>
> Perhaps it would be also a good idea to take into account Colleens
> proposal to add an os/posix/ directory on the jdk-side of the world as
> well?
>
The jdk doesn't use the HPI directly, but rather indirectly by calling
in via JVM_* functions. We can't remove this, at least not in 7, because
we have to continue to allow for the possibility that someone runs with
legacy interruptible I/O enabled. Once 8 gets moving then we can clean
things up and change the older code to use system calls directly (which
is already the case in the newer APIs).
As regards the directory organization, then it's src/windows and
src/solaris for now. I'm not aware of any discussions or plans to change
this. Periodically there are calls to rename src/solaris or src/unix. As
the src/solaris is the starting point for most ports then it could
probably be done a bit better as there are a few places where there is
code and source files that are specific to Solaris or Linux.
-Alan.
More information about the hotspot-dev
mailing list