changelog
- Thu, 05 May 2016 17:04:35 -0400
- by Jin [Thu, 05 May 2016 17:04:35 -0400] rev 3
- TemplateTable::fast_xaccess(): fix unaligned lhu
BCP and offset may both be unaligned.
Two LBU are required.
public class List {
public List next;
public void insert() {
List p = new List();
p.next = this.next;
}
public static void main(String[] args) throws Exception {
List th = new List();
while(true)
th.insert();
}
}
Effect:
- -Xint: 0 unaligned access
- Thu, 05 May 2016 14:53:07 -0400
- by Jin [Thu, 05 May 2016 14:53:07 -0400] rev 2
- 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
- Fri, 29 Apr 2016 00:06:10 +0800
- by aoqi [Fri, 29 Apr 2016 00:06:10 +0800] rev 1
- Added MIPS 64-bit port.
- Wed, 27 Apr 2016 01:25:04 +0800
- by aoqi [Wed, 27 Apr 2016 01:25:04 +0800] rev 0
- Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/
changeset: 6782:28b50d07f6f8
tag: jdk8u25-b17