Dose OpenJDK need gcc unwind support?
Andrew Haley
aph at redhat.com
Fri Feb 25 01:22:54 PST 2011
On 02/25/2011 08:54 AM, majia gm wrote:
> I'd like to use zero. But 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?
No it doesn't, but it does need a fully-working C++ compiler.
Andrew.
More information about the porters-dev
mailing list