equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
28 #include "ci/ciStreams.hpp" |
28 #include "ci/ciStreams.hpp" |
29 #include "compiler/methodLiveness.hpp" |
29 #include "compiler/methodLiveness.hpp" |
30 #include "interpreter/bytecode.hpp" |
30 #include "interpreter/bytecode.hpp" |
31 #include "interpreter/bytecodes.hpp" |
31 #include "interpreter/bytecodes.hpp" |
32 #include "memory/allocation.inline.hpp" |
32 #include "memory/allocation.inline.hpp" |
|
33 #include "runtime/timerTrace.hpp" |
33 #include "utilities/bitMap.inline.hpp" |
34 #include "utilities/bitMap.inline.hpp" |
34 |
35 |
35 // The MethodLiveness class performs a simple liveness analysis on a method |
36 // The MethodLiveness class performs a simple liveness analysis on a method |
36 // in order to decide which locals are live (that is, will be used again) at |
37 // in order to decide which locals are live (that is, will be used again) at |
37 // a particular bytecode index (bci). |
38 // a particular bytecode index (bci). |