--- old/src/share/vm/ci/ciValueKlass.hpp 2016-12-02 14:22:05.959886118 +0100 +++ new/src/share/vm/ci/ciValueKlass.hpp 2016-12-02 14:22:05.675886109 +0100 @@ -48,7 +48,13 @@ int param_count() const; int param_size(); - // Value type fields ('index' refers to the value factory parameter index) + // Value type fields + // + // The term index refers to the index in the VM's constant pool + // (i.e., to the value returned by fieldDescriptor::index()). + // Argument index refers to a field's index in the value factory + // parameter mapping. + int field_index_for_argument(int arg_index); int get_field_count() { return nof_nonstatic_fields(); } int get_field_index_by_offset(int offset); int get_field_offset_by_index(int index) const;