This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [ecj] Patch: FYI: merge in Classpath 0.93+
Tom Tromey writes:
> >> Andrew, Gary -- please take a look at the new
> >> VMStackWalker.firstNonNullClassLoader. I copied this in from upstream.
>
> Andrew> Eww. If that's used anywhere that matters, we have to fix it.
>
> There's a few uses in Classpath:
>
> ./gnu/javax/rmi/CORBA/UtilDelegateImpl.java: loader = VMStackWalker.firstNonNullClassLoader();
> ./gnu/java/rmi/server/RMIObjectInputStream.java: VMStackWalker.firstNonNullClassLoader());
> ./gnu/java/rmi/server/RMIObjectInputStream.java: VMStackWalker.firstNonNullClassLoader());
> ./java/io/ObjectInputStream.java: return VMStackWalker.firstNonNullClassLoader();
OK, definitely. ObjectInputStream is very important,
performance-wise. We need another specialization in VMStackWalker.
Andrew.