On May 11, 2010, at 7:45 AM, Tuolin Chen wrote: > I'm new to mlvm and I'm trying to get Lukas' coro.patch to work. > > I grabbed the source and patches according to openjdk and mlvm build > instructions. Everything is done on my laptop running Ubuntu 10.04 64bit > version. Only coro patch is applied. Though it didn't apply cleanly with > latest code base, the issue is minor and I fixed it by some trivial editing > on the patch.
Unless you are attempting a forward-port, the patches should only be attempted with the micro-version mentioned in the series file (patches/hotspot/series). Currently that is 88f9b6ef43ff. Is that the base you are starting with? > The patched sources compiled fine, but generated a error when yielding to > coroutine: > > # To suppress the following error report, specify this argument > # after -XX: or in .hotspotrc: SuppressErrorAt=/unsafe.cpp:1229 > # > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error > (/home/tuolin/Projs/davinci/sources/hotspot/src/share/vm/prims/unsafe.cpp:1229), > pid=9191, tid=140737353991952 > # Error: assert(current != __null,"NULL current coroutine in prepareSwitch") > > While debugging, the data does not appear to be corrupted. I also checked the > sources, but failed to see the appropriate modification. > > Any help is greatly appreciated! If you are starting with the right base revision, this sounds like a question for Lukas. Best wishes, -- John _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev