File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
substratevm/src/com.oracle.objectfile/src/com/oracle/objectfile/pecoff/cv Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ private void addTypeRecords(TypeEntry typeEntry) {
197197 * @param entry compiled method containing entities whos type records must be added
198198 * @return type index of function type
199199 */
200- private int addTypeRecords (@ SuppressWarnings ( "unused" ) CompiledMethodEntry entry ) {
200+ private int addTypeRecords (CompiledMethodEntry entry ) {
201201 return cvDebugInfo .getCVTypeSection ().addTypeRecords (entry ).getSequenceNumber ();
202202 }
203203}
Original file line number Diff line number Diff line change @@ -1038,8 +1038,8 @@ static final class CVFieldListRecord extends CVTypeRecord {
10381038
10391039 static final int INITIAL_CAPACITY = 10 ;
10401040
1041- /* Size includes type field and record length field. */
1042- private int estimatedSize = Short .BYTES * 2 ;
1041+ /* Size includes type field but not record length field. */
1042+ private int estimatedSize = CVUtil . align4 ( Short .BYTES ) ;
10431043
10441044 private final ArrayList <FieldRecord > members = new ArrayList <>(INITIAL_CAPACITY );
10451045
You can’t perform that action at this time.
0 commit comments