[aarch64-port-dev ] RFR: JDK-8143584 Aarch64: Load constant pool tag and class status with load acquire (original) (raw)
Andrew Haley aph at redhat.com
Wed Nov 25 12:09:07 UTC 2015
- Previous message: [aarch64-port-dev ] RFR: JDK-8143584 Aarch64: Load constant pool tag and class status with load acquire
- Next message: [aarch64-port-dev ] RFR: JDK-8143584 Aarch64: Load constant pool tag and class status with load acquire
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 11/25/2015 11:28 AM, Hui Shi wrote:
I haven't find explicit code synchronize InstanceKlass' content. In SystemDictionary::loadinstanceclass, it uses MutexLocker and this might help.
We don't need to synchronize in TemplateTable::_new because Klass::layout_helper saves the slow_path flag in the least significant bit. If we find that layout_helper is not valid we'll take the slow path and acquire the lock.
new webrev in http://cr.openjdk.java.net/~hshi/8143584/webrevv2/
That looks OK.
Thanks,
Andrew.
- Previous message: [aarch64-port-dev ] RFR: JDK-8143584 Aarch64: Load constant pool tag and class status with load acquire
- Next message: [aarch64-port-dev ] RFR: JDK-8143584 Aarch64: Load constant pool tag and class status with load acquire
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]