Mercurial > hg > truffle
changeset 20618:7024b693c8f9
8059780: SPECjvm2008-MPEG performance regressions on x64 platforms
Summary: Back-out 8052081 changes made in lcm.cpp.
Reviewed-by: iveresov, roland
author | kvn |
---|---|
date | Mon, 03 Nov 2014 12:02:40 -0800 |
parents | 28ab1380ec65 |
children | b12a2a9b05ca |
files | src/share/vm/opto/lcm.cpp |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp Thu Nov 06 12:05:43 2014 +0000 +++ b/src/share/vm/opto/lcm.cpp Mon Nov 03 12:02:40 2014 -0800 @@ -484,9 +484,7 @@ iop == Op_CreateEx || // Create-exception must start block iop == Op_CheckCastPP ) { - // select the node n - // remove n from worklist and retain the order of remaining nodes - worklist.remove((uint)i); + worklist.map(i,worklist.pop()); return n; } @@ -572,9 +570,7 @@ assert(idx >= 0, "index should be set"); Node *n = worklist[(uint)idx]; // Get the winner - // select the node n - // remove n from worklist and retain the order of remaining nodes - worklist.remove((uint)idx); + worklist.map((uint)idx, worklist.pop()); // Compress worklist return n; }