[rvm-research] Does GC stop a muatator thread that executes in JNI context?
Lingyu Zhu <[email protected]> Fri, 19 Oct 2018 20:22:14 +0800
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CACFGcbYyHTYJh97P_x653EFZE9j4V-AFQsqkNwve_uLd3Kw=NQ@mail.gmail.com> |
--===============7244196588982440469== Content-Type: multipart/alternative; boundary="000000000000c3d8b1057893f5f1" --000000000000c3d8b1057893f5f1 Content-Type: text/plain; charset="UTF-8" Hi, all. I leared that mutator threads stop at safe points if a GC request is in pending. Since JNI code is compiled by native language compiler, no safe points is inserted in JNI codes. Therefore my question is: can a thread currently in JNI context be stoped, if it can do so, which points are the proper location for the thread stop at? --000000000000c3d8b1057893f5f1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi, all. I leared that mutator threads stop at safe points= if a GC request is in pending. Since JNI<div>code is compiled by native la= nguage compiler,=C2=A0 no safe points is inserted in JNI codes. Therefore m= y question is: can a thread currently in JNI context be stoped, if it can d= o so, which points are the proper location for the thread stop at?=C2=A0</d= iv></div> --000000000000c3d8b1057893f5f1-- --===============7244196588982440469== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7244196588982440469== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers --===============7244196588982440469==--