WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the
Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
Recompilation and OSR
Hi all,
I'm studying recompilation and OSR part in Jikes. I have a few questions.
1. Does Jikes use OSR to replace code for optimization invalidation? If so, could you point me to the code?
2. I'm not quite clear how recompilation can deal with inlining. e.g.
m1(){
...
m2();
...
}
1). m2 is inlined in m1 since m2 is hot.
2). Late on, m2 have to be recompiled since optimization invalidation. Then how can compiler replace the INLINED m2 code in method m1 if m1 is not currently being executed so that OSR cannot work?
Do I express my questions clearly?
Thanks.
Du