Skip to content

Commit 4cb0866

Browse files
committed
remove unnecessory size_t conversion
1 parent 6b4600a commit 4cb0866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/parallel/parallelScavengeHeap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ class HeapBlockClaimer : public StackObj {
548548
size_t _claimed_index;
549549

550550
public:
551-
static const size_t InvalidIndex = (size_t)SIZE_MAX;
551+
static const size_t InvalidIndex = SIZE_MAX;
552552
static const size_t EdenIndex = 0;
553553
static const size_t SurvivorIndex = 1;
554554
static const size_t NumNonOldGenClaims = 2;

0 commit comments

Comments
 (0)