Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Aug 24, 2023
1 parent f4b6acb commit f04410f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/share/oops/arrayOop.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class arrayOopDesc : public oopDesc {
return reinterpret_cast<int*>(ptr + length_offset_in_bytes());
}

// Check whether an element of a typeArrayOop with the given type must be
// aligned 0 mod 8. The typeArrayOop itself must be aligned at least this
// Check whether an element of an arrayOop with the given type must be
// aligned 0 mod 8. The arrayOop itself must be aligned at least this
// strongly.
static bool element_type_should_be_aligned(BasicType type) {
#ifdef _LP64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ private static void initialize(TypeDataBase db) throws WrongTypeException {
private static long lengthOffsetInBytes=0;
private static long typeSize;

// Check whether an element of a typeArrayOop with the given type must be
// aligned 0 mod 8. The typeArrayOop itself must be aligned at least this
// Check whether an element of a arrayOop with the given type must be
// aligned 0 mod 8. The arrayOop itself must be aligned at least this
// strongly.
private static boolean elementTypeShouldBeAligned(BasicType type) {
if (VM.getVM().isLP64()) {
Expand Down

0 comments on commit f04410f

Please sign in to comment.