Dose zero need gcc unwind support?

Gary Benson gbenson at redhat.com
Fri Feb 25 02:05:04 PST 2011


Hi,

Zero doesn't use the operating system's stack at all.  OpenJDK
creates a stack for each thread, but after that it's treated as
an opaque block of memory.

Cheers,
Gary

majia gm wrote:
> Hi, everyone.
> 
> I'd like to use zero. The current gcc in our platform use
> setjmp/longjmp to implement c++ exception and has no support for
> one-by-one frame unwinding. And I want to know, whether zero need
> gcc unwind support or not?
> 
> I know gcj need this to implement classloader inheritance. For
> example, Loader A load Class A, and Class A calls method in Class
> B. Then Class B need to be loaded by using the same class loader,
> Loader A.
> 
> In order to know which class call the method in Class B, JVM in gcj
> need to unwind the stack to find out in which class the calling
> method is.
> 
> Dose OpenJDK has the similar implementation on abi stack unwind?
> 
> Thank you.

-- 
http://gbenson.net/


More information about the zero-dev mailing list