Details
-
Bug
-
Resolution: Fixed
-
P3
-
15
-
b26
Description
For a method like this:
private static int test1(int start, int stop) {
int sum = 0;
int i = start;
do {
synchronized (new Object()) {
}
sum += i;
i++;
} while (i < stop);
return sum;
}
when run with stop < start, the body should be run once (there is no test to guard entry in the method) but is run LoopStripMiningIter.
private static int test1(int start, int stop) {
int sum = 0;
int i = start;
do {
synchronized (new Object()) {
}
sum += i;
i++;
} while (i < stop);
return sum;
}
when run with stop < start, the body should be run once (there is no test to guard entry in the method) but is run LoopStripMiningIter.
Attachments
Issue Links
- relates to
-
JDK-8241492 Strip mining not working for test/hotspot/jtreg/compiler/c2/Test6850611.java
-
- Resolved
-