Thu, 05 May 2016 14:53:07 -0400
TemplateTable::_new(): fix unaligned lw
InstanceKlass::init_state is defiend as "u2" and is assigned to 2-byte
boundary. Its offset is 0x16a.
Such field should be accessed with LHU.
public class List {
public static void main(String[] args) {
List th;
while(true)
th = new List();
}
}
Effect:
* -Xmixed / -Xint: no unaligned instructions
aoqi@0 | 1 | ^build/ |
aoqi@0 | 2 | ^dist/ |
aoqi@0 | 3 | /nbproject/private/ |
aoqi@0 | 4 | ^src/share/tools/hsdis/build/ |
aoqi@0 | 5 | ^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/ |
aoqi@0 | 6 | ^src/share/tools/IdealGraphVisualizer/build/ |
aoqi@0 | 7 | ^src/share/tools/IdealGraphVisualizer/dist/ |
aoqi@0 | 8 | ^.hgtip |
aoqi@0 | 9 | .DS_Store |