This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ProcessManager on Solaris


Boehm, Hans wrote:

I'm not opposed to adding a hook to the generic collector code, so that
any hidden threads created by the GC can call back into gcj code to
do this sort of stuff.

The problem with the patch here is that I expect we will have the same
problem with the parallel GC threads, if anyone builds with
--enable-parallel-mark.  And I would expect that to become the default
a couple of years down the road when we all have multi-core chips in
our desktops.

In contrast, I'm trying to get rid of the Solaris-specific code.
Any problems/patches there are likely to be somewhat temporary.


Sure, I think some sort of hook would be a better approach, and if you want to propose a patch we could certainly use that instead (although even better would be to modify our ProcessManager to not require this).

I think this patch is sufficient to temporarily solve the problem, however, particularly given the 4.0 timeframe. By marking it as GCJ LOCAL we can identify it as something that should be replaced.

Regards

Bryce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]