I am thinking having JVM (or whatever for that matter) to be working
/without/ kernel threads to be a big positive point.
The problem with your point, is that you are heading toward infeodating
JDK to having kernel threads, in other words to have JDK be dependent
from kernel threads; so the day you do NOT have kernel threads (because
you do not want them, because it is brocken, because you want to spare
the overhead, whatever the actual reason), you end not having JVM, nor
any other packages you made depending on that feature.
> Since Java has support for threads in the language, I believe you will get
> better performance if you map them to kernel threads rather than depending
> upon some user-space thread library.
Is it possible to build a limited JVM without any thread support?
('coz embedded target, no MMU, etc.)
Antoine
srivatsa bhat wrote:
> But dont you think it will be a better idea to port JVM/JDK to MINIX after
> kernel threads are implemented in MINIX?
I am thinking having JVM (or whatever for that matter) to be working
/without/ kernel threads to be a big positive point.
The problem with your point, is that you are heading toward infeodating
JDK to having kernel threads, in other words to have JDK be dependent
from kernel threads; so the day you do NOT have kernel threads (because
you do not want them, because it is brocken, because you want to spare
the overhead, whatever the actual reason), you end not having JVM, nor
any other packages you made depending on that feature.
> Since Java has support for threads in the language, I believe you will get
> better performance if you map them to kernel threads rather than depending
> upon some user-space thread library.
Is it possible to build a limited JVM without any thread support?
('coz embedded target, no MMU, etc.)