Request for reviews (M): 7160161: Missed safepoint in non-Counted loop
Vladimir Kozlov
vladimir.kozlov at oracle.com
Wed Aug 29 12:11:46 PDT 2012
Thank you, Christian
Vladimir
Christian Thalinger wrote:
> Looks good. -- Chris
>
> On Aug 28, 2012, at 5:35 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>
>> http://cr.openjdk.java.net/~kvn/7160161/webrev
>>
>> 7160161: Missed safepoint in non-Counted loop
>>
>> Loop peeling optimization removes needed safepoints from peeled iteration of inner non-counted loop during OSR compilation. As result the path without safepoints is created in outer loop.
>>
>> Do not remove safepoints during peeling optimization. Improve the code in IdealLoopTree::counted_loop() to eliminate all others safepoints in a loop (but not in this loop's nested loops) which have a safepoint on dominating path.
>>
>> Tested with provided test case, CTW, jtreg Compiler. Did analysis of code generated for nested loops which are not counted.
>>
>> Thanks,
>> Vladimir
>
More information about the hotspot-compiler-dev
mailing list