Skip to content

Commit

Permalink
Remove DDR uses of J9ClassIsPrimitiveValueType
Browse files Browse the repository at this point in the history
Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
  • Loading branch information
theresa-m committed Sep 18, 2024
1 parent 0c6cdfd commit 72687c8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ J9JavaAccessFlags.J9StaticFieldRefTypeObject = 0
J9JavaAccessFlags.J9StaticFieldRefTypeShort = 0

J9JavaClassFlags.J9ClassIsFlattened = 0
J9JavaClassFlags.J9ClassIsPrimitiveValueType = 0
J9JavaClassFlags.J9ClassIsValueType = 0
J9JavaClassFlags.J9ClassLargestAlignmentConstraintDouble = 0
J9JavaClassFlags.J9ClassLargestAlignmentConstraintReference = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,6 @@ public boolean isJ9ClassAValueType(J9ClassPointer clazz) throws CorruptDataExcep
return clazz.classFlags().allBitsIn(J9JavaClassFlags.J9ClassIsValueType);
}

@Override
public boolean isJ9ClassAPrimitiveValueType(J9ClassPointer clazz) throws CorruptDataException {
return clazz.classFlags().allBitsIn(J9JavaClassFlags.J9ClassIsPrimitiveValueType);
}

@Override
public boolean isFieldInClassFlattened(J9ClassPointer clazz, J9ROMFieldShapePointer fieldShape) throws CorruptDataException {
boolean result = false;
Expand Down Expand Up @@ -407,17 +402,6 @@ public boolean isJ9ClassAValueType(J9ClassPointer clazz) throws CorruptDataExcep
return false;
}

/**
* Queries if J9Class is a primitive value type
*
* @param clazz clazz to query
* @return true if class is a primitive value type, false otherwise
* @throws CorruptDataException
*/
public boolean isJ9ClassAPrimitiveValueType(J9ClassPointer clazz) throws CorruptDataException {
return false;
}

/**
* Queries whether field is flattened of not.
*
Expand Down

0 comments on commit 72687c8

Please sign in to comment.