Dose zero need gcc unwind support?
majia gm
gmmajia at gmail.com
Fri Feb 25 19:10:05 PST 2011
Hi, Gary.
Thank you for your reply. But what about the exception? Dose OpenJDK
use C++ exception to implement Java exception? Or the Java exception
is purely soft?
2011/2/25 Gary Benson <gbenson at redhat.com>:
> 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