< prev index next >
src/java.base/share/classes/jdk/internal/platform/Metrics.java
Print this page
rev 53560 : 8218022: Repeated words typos in java.base
Reviewed-by: alanb, lancea
Contributed-by: Andrey Turbanov <turbanoff@gmail.com>
*** 1,7 ****
/*
! * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 276,286 ****
/**
* Returns the (attempts per second * 1000), if enabled, that the
* operating system tries to satisfy a memory request for any
* process in the current Isolation Group when no free memory is
* readily available. Use {@link #isCpuSetMemoryPressureEnabled()} to
! * to determine if this support is enabled.
*
* @return Memory pressure or 0 if not enabled or metric is not
* available.
*
*/
--- 276,286 ----
/**
* Returns the (attempts per second * 1000), if enabled, that the
* operating system tries to satisfy a memory request for any
* process in the current Isolation Group when no free memory is
* readily available. Use {@link #isCpuSetMemoryPressureEnabled()} to
! * determine if this support is enabled.
*
* @return Memory pressure or 0 if not enabled or metric is not
* available.
*
*/
*** 320,330 ****
/**
* Returns the largest amount of physical memory, in bytes, that
* have been allocated in the Isolation Group.
*
! * @return The largest amount of memory in bytes or or 0 if this
* metric is not available.
*
*/
public long getMemoryMaxUsage();
--- 320,330 ----
/**
* Returns the largest amount of physical memory, in bytes, that
* have been allocated in the Isolation Group.
*
! * @return The largest amount of memory in bytes or 0 if this
* metric is not available.
*
*/
public long getMemoryMaxUsage();
*** 360,370 ****
/**
* Returns the largest amount of kernel physical memory, in bytes, that
* have been allocated in the Isolation Group.
*
! * @return The largest amount of memory in bytes or or 0 if this
* metric is not available.
*
*/
public long getKernelMemoryMaxUsage();
--- 360,370 ----
/**
* Returns the largest amount of kernel physical memory, in bytes, that
* have been allocated in the Isolation Group.
*
! * @return The largest amount of memory in bytes or 0 if this
* metric is not available.
*
*/
public long getKernelMemoryMaxUsage();
*** 400,410 ****
/**
* Returns the largest amount of networking physical memory, in bytes,
* that have been allocated in the Isolation Group.
*
! * @return The largest amount of memory in bytes or or 0 if this
* metric is not available.
*
*/
public long getTcpMemoryMaxUsage();
--- 400,410 ----
/**
* Returns the largest amount of networking physical memory, in bytes,
* that have been allocated in the Isolation Group.
*
! * @return The largest amount of memory in bytes or 0 if this
* metric is not available.
*
*/
public long getTcpMemoryMaxUsage();
*** 440,450 ****
/**
* Returns the largest amount of physical memory and swap space,
* in bytes, that have been allocated in the Isolation Group.
*
! * @return The largest amount of memory in bytes or or 0 if this
* metric is not available.
*
*/
public long getMemoryAndSwapMaxUsage();
--- 440,450 ----
/**
* Returns the largest amount of physical memory and swap space,
* in bytes, that have been allocated in the Isolation Group.
*
! * @return The largest amount of memory in bytes or 0 if this
* metric is not available.
*
*/
public long getMemoryAndSwapMaxUsage();
< prev index next >