threads and gc on SPARC/Solaris 2.8

Andrew Haley aph@cambridge.redhat.com
Wed Jun 27 11:54:00 GMT 2001


In mach_dep.c we have:
#if defined(ASM_CLEAR_CODE) && !defined(THREADS)
GC_clear_stack_inner: 
 ... code to clear the stack.
GC_clear_stack_inner is defined nowhere else, and we depend on it.
Yet it isn't compiled when THREADS is defined, which it always needs
to be for Java. However, comments say it is essential. If I compile
GC_clear_stack_inner and use it with threads, it faults with an
illegal instruction.
What is going on here? I don't get it. Has anybody made gcj work on
Sparc/Solaris?
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /