RFR(S): 8005079: fix LogCompilation for incremental inlining
Roland Westrelin
roland.westrelin at oracle.com
Wed Mar 26 16:03:03 UTC 2014
> CICountOSR is off by default, osr compilations have compile_id in the same sequence as normal compilations. Only when CICountOSR is on its compile_id can match one of normal compilation id.
>
> And your formula is incorrect because produced id for compile_id = 2 will match id for osr_compile_id = 1, for example.
>
> If you want to keep low 32 bit for unique() you can shift more:
>
> ((jlong)compile_id())<<33 + (CICountOSR && is_osr_compilation() ? 1<<32 : 0);
Ok. I’ll do that. Thanks Vladimir.
Roland.
More information about the hotspot-compiler-dev
mailing list