Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl.java @ 23297:4b58c92e939b
remove redundant modifiers
author | Manuel Rigger <rigger.manuel@gmail.com> |
---|---|
date | Tue, 02 Feb 2016 16:19:37 +0100 |
parents | 87394b31a42e |
children | 293eb76b86d3 |
comparison
equal
deleted
inserted
replaced
23296:f41d4011035d | 23297:4b58c92e939b |
---|---|
554 /** | 554 /** |
555 * Creates a field info for the field in the fields array at index {@code index}. | 555 * Creates a field info for the field in the fields array at index {@code index}. |
556 * | 556 * |
557 * @param index index to the fields array | 557 * @param index index to the fields array |
558 */ | 558 */ |
559 public FieldInfo(int index) { | 559 FieldInfo(int index) { |
560 HotSpotVMConfig config = config(); | 560 HotSpotVMConfig config = config(); |
561 // Get Klass::_fields | 561 // Get Klass::_fields |
562 final long metaspaceFields = UNSAFE.getAddress(getMetaspaceKlass() + config.instanceKlassFieldsOffset); | 562 final long metaspaceFields = UNSAFE.getAddress(getMetaspaceKlass() + config.instanceKlassFieldsOffset); |
563 assert config.fieldInfoFieldSlots == 6 : "revisit the field parsing code"; | 563 assert config.fieldInfoFieldSlots == 6 : "revisit the field parsing code"; |
564 metaspaceData = metaspaceFields + config.arrayU2DataOffset + config.fieldInfoFieldSlots * Short.BYTES * index; | 564 metaspaceData = metaspaceFields + config.arrayU2DataOffset + config.fieldInfoFieldSlots * Short.BYTES * index; |