-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b03
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2195066 | 7 | John Rose | P3 | Closed | Fixed | b99 |
JDK-2197808 | 6u23 | John Rose | P3 | Resolved | Fixed | b01 |
JDK-2199708 | 6u22m | John Rose | P3 | Resolved | Fixed | b01 |
JDK-2197519 | 6u21p | John Rose | P3 | Resolved | Fixed | b03 |
Bug 6939203 (JSR 292 needs method handle constants) requires an extension to the construct pool structure and the ldc bytecode. In particular, it needs to use the CP cache to manage method references, and therefore the ldc bytecode (when used by the new functionality) need to refer to a CP cache index.
To do this safely, the JVM's bytecode parsing modules must make a more rigorous distinction between types of bytecode indexes. This change makes clear the difference between (a) a CP index and (b) a CP cache index, and also (1) a network-byte-order index and (2) a native-byte-order index. With clarified distinctions, enforced mechanically, we can safely make the needed modifications.
For a draft of this change, see:
http://hg.openjdk.java.net/mlvm/mlvm/hotspot/file/5353e955d315/cpindex-cleanup.patch
To do this safely, the JVM's bytecode parsing modules must make a more rigorous distinction between types of bytecode indexes. This change makes clear the difference between (a) a CP index and (b) a CP cache index, and also (1) a network-byte-order index and (2) a native-byte-order index. With clarified distinctions, enforced mechanically, we can safely make the needed modifications.
For a draft of this change, see:
http://hg.openjdk.java.net/mlvm/mlvm/hotspot/file/5353e955d315/cpindex-cleanup.patch
- backported by
-
JDK-2197519 refactor constant pool index processing
- Resolved
-
JDK-2197808 refactor constant pool index processing
- Resolved
-
JDK-2199708 refactor constant pool index processing
- Resolved
-
JDK-2195066 refactor constant pool index processing
- Closed
- relates to
-
JDK-6939203 JSR 292 needs method handle constants
- Closed
-
JDK-6957004 MethodComparator uses the wrong CP index accessor
- Closed
-
JDK-6981788 GC map generator sometimes picks up the wrong kind of instruction operand
- Closed
(2 relates to)