Question regarding doYield & doContinue

Rickard Bäckman rickard.backman at oracle.com
Thu Feb 20 13:46:37 UTC 2020


Hi!

For x86 they are generated in stubGenerator_x86_64.cpp.
generate_cont_doYield and generate_cont_thaw.

/R

On 02/20, Michael Schoettner wrote:
> Dear all,
> 
> one of my students is studying loom during his Bacheloer thesis and tries to understand how loom works. Can someone give us a hint where we find the implementation of doYield & doContinue (both intrinsic functions)?
> 
> These are the functions, in
> src/java.base/share/classes/java/lang/Continuation.java
> 
> @HotSpotIntrinsicCandidate
> private void doContinue() { throw new Error("Intrinsic not installed"); };
> 
> @HotSpotIntrinsicCandidate
> private static int doYield(int scopes) { throw new Error("Intrinsic not installed"); };
> 
> 
> Thank you
> 
> Michael
> -- 
> ---------------------------------------------------------------------
> Prof. Dr. Michael Schöttner                   phone: +49.211.81.10590
> Abteilung Betriebssysteme                     fax:   +49.211.81.13464
> Institut für Informatik
> Universität Düsseldorf
> Universitätsstrasse 1           michael.schoettner at uni-duesseldorf.de
> 40225 Düsseldorf               http://www.cs.uni-duesseldorf.de/AG/BS
> Germany
> 
> Sekretariat: Angela Rennwanz                  phone: +49.211.81.10591
> Angela.Rennwanz at uni-duesseldorf.de
> ---------------------------------------------------------------------


More information about the loom-dev mailing list