Hi, NP, I think. Just prepare a patch.
There is only one problem: Solaris expects GC_INIT to be called from the main thread due to: /* These variables are used to cache ss_sp value for the primordial */ /* thread (it's better not to call thr_stksegment() twice for this */ /* thread - see JDK bug #4352906). */ Is there a way to find out whether this is a primordial thread on not on Solaris? if yes then it would be easy to fix the problem on Solaris as well. (I don't see any other multi-threaded platform that prevents calling GC_INIT from non-primordial threads.) Regards. Sun, 17 Apr 2011 16:01:02 +0200 [email protected] (Ludovic Courtès): > Hi Ivan, > > Ivan Maidanski <[email protected]> writes: > > > Fixed. Thanks. > > I confirm it fixes the problem, thanks! > > How about committing the code snippet I posted as a test case? > > Ludo’.
