classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VMThrowable.java


From: Mark Wielaard
Subject: Re: VMThrowable.java
Date: 21 Feb 2003 10:41:00 +0100

Hi,

On Fri, 2003-02-21 at 02:20, Tom Tromey wrote:
> The only problem I have with this approach is when a particular method
> is performance-sensitive; then the extra call is wasteful (as opposed
> to a native method directly in the standard class).  For libgcj we can
> just maintain a small divergence in these cases.  Ideally I prefer to
> avoid these divergences.  I'm not sure how much this consideration
> applies to other VMs.

My idea was that the VMStateHelper classes are package private and final
which should be a hint to the VM that these are special cases that can
be optimized by inlining all calls into the non-VM version.

Cheers,

Mark





reply via email to

[Prev in Thread] Current Thread [Next in Thread]