Skip to content

Commit d50deb4

Browse files
committed
style fixes
1 parent 9415770 commit d50deb4

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

substratevm/src/com.oracle.objectfile/src/com/oracle/objectfile/debuginfo/DebugInfoProvider.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,22 @@ public interface DebugInfoProvider {
4141
boolean useHeapBase();
4242

4343
/**
44-
* number of bits oops are left shifted by when using compressed oops
44+
* Number of bits oops are left shifted by when using compressed oops.
4545
*/
4646
int oopCompressShift();
4747

4848
/**
49-
* mask delecting low order bits used for tagging oops
49+
* Mask delecting low order bits used for tagging oops.
5050
*/
5151
int oopTagsMask();
5252

5353
/**
54-
* number of bytes used to store an oop reference
54+
* Number of bytes used to store an oop reference.
5555
*/
5656
int oopReferenceSize();
5757

5858
/**
59-
* alignment of object memory area (and, therefore, of any oop) in bytes
59+
* Alignment of object memory area (and, therefore, of any oop) in bytes.
6060
*/
6161
int oopAlignment();
6262

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/image/NativeImageDebugInfoProvider.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@
8686
* to be passed to an ObjectFile when generation of debug info is enabled.
8787
*/
8888
class NativeImageDebugInfoProvider implements DebugInfoProvider {
89-
private static final JavaKind[] ARRAY_KINDS = {JavaKind.Boolean, JavaKind.Byte, JavaKind.Char, JavaKind.Short, JavaKind.Int, JavaKind.Float, JavaKind.Long, JavaKind.Double, JavaKind.Object};
90-
9189
private final DebugContext debugContext;
9290
private final NativeImageCodeCache codeCache;
9391
@SuppressWarnings("unused") private final NativeImageHeap heap;
@@ -488,7 +486,6 @@ public Path cachePath() {
488486
private Stream<DebugTypeInfo> computeHeaderTypeInfo() {
489487
List<DebugTypeInfo> infos = new LinkedList<>();
490488
int hubOffset = OBJECTLAYOUT.getHubOffset();
491-
int referenceSize = OBJECTLAYOUT.getReferenceSize();
492489
int hubFieldSize = referenceSize;
493490
String hubTypeName = "java.lang.Class";
494491
int idHashOffset = OBJECTLAYOUT.getIdentityHashCodeOffset();

0 commit comments

Comments
 (0)