RFR (S) : 8025260 : Methodhandles/JSR292: NullPointerException (NPE) thrown instead of AbstractMethodError (AME)

David Chase david.r.chase at oracle.com
Thu Sep 26 12:22:55 PDT 2013

On 2013-09-26, at 2:30 PM, John Rose <john.r.rose at oracle.com> wrote:
> That is, push the compare-null-and-branch code into this conditional:
>  if (!for_compiler_entry && JvmtiExport::can_post_interpreter_events()) {
> The goal here is that vanilla compiled code should have a fast path that is as compact as possible.  Interpreted or "VerifyThread" code does not need to be compact.

That is, you want two copies of the test, one for the compiled case that is short, the other for the interpreted case that is potentially longer (and more general purpose) -- but this is a sparc-only issue, on Intel, branches is branches?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130926/4728d870/signature.asc 

More information about the hotspot-compiler-dev mailing list