Hi John,

> Am 13.08.2016 um 01:48 schrieb John Rose <john.r.r...@oracle.com>:
> This does lead me to an extra thought:  I think IM's could be given the 
> capability to have multiple entry points.  This would allow a number of 
> interesting applications, starting with exception handling that appeals to a 
> helper object, instead of a handler table and some special verifier rules.
> 
> Immediately beyond that, although now I'm being a Mission Creep, if an IM has 
> multiple entry points for exception handling, it could also use these entry 
> points for frame resumption, as described by Ron Pressler in a previous 
> JVMLS, and Andrey Breslav this year.  (That leads to the question of how an 
> IM can yield to an suspension point, a very good question.  And something 
> that a helper object can help with.  And so on.  This might help us do fibers 
> experiments more quickly.)

multiple entry points would also, FWIW, enable OSR.

How to invoke a method with a specific entry point? Via Indy, with an extra 
argument?

The handler table that would go away if exception handling was conveniently 
pushed to a helper object would make a proud reappearance in the form of a 
valid entry point table. We don't want arbitrary jumps into the middle of 
things. :-)

Best,

Michael

-- 

 <http://www.oracle.com/>
Dr. Michael Haupt | Principal Member of Technical Staff
Phone: +49 331 200 7277 | Fax: +49 331 200 7561
Oracle Java Platform Group | LangTools Team | Nashorn
Oracle Deutschland B.V. & Co. KG | Schiffbauergasse 14 | 14467 Potsdam, Germany

ORACLE Deutschland B.V. & Co. KG | Hauptverwaltung: Riesstraße 25, D-80992 
München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V. | Hertogswetering 163/167, 
3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
 <http://www.oracle.com/commitment>     Oracle is committed to developing 
practices and products that help protect the environment

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to