Skip to content

Commit 233cdcc

Browse files
committed
max val
1 parent 0370401 commit 233cdcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/os/linux/cgroupSubsystem_linux.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class CachedMetric : public CHeapObj<mtInternal>{
188188
volatile jlong _next_check_counter;
189189
public:
190190
CachedMetric() {
191-
_metric = value_unlimited;
191+
_metric = std::numeric_limits<MetricType>::max();
192192
_next_check_counter = min_jlong;
193193
}
194194
bool should_check_metric() {

0 commit comments

Comments
 (0)