test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/GetThreadAllocatedBytes/BaseBehaviorTest.README
equal
deleted
inserted
replaced
1 Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
1 Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 |
3 |
4 This code is free software; you can redistribute it and/or modify it |
4 This code is free software; you can redistribute it and/or modify it |
5 under the terms of the GNU General Public License version 2 only, as |
5 under the terms of the GNU General Public License version 2 only, as |
6 published by the Free Software Foundation. |
6 published by the Free Software Foundation. |
19 or visit www.oracle.com if you need additional information or have any |
19 or visit www.oracle.com if you need additional information or have any |
20 questions. |
20 questions. |
21 |
21 |
22 DESCRIPTION |
22 DESCRIPTION |
23 |
23 |
24 Tests getThreadAllocatedBytes(long id) and getThreadAllocatedBytes(long[] ids), |
24 Tests getCurrentThreadAllocatedBytes(), getThreadAllocatedBytes(long id), |
|
25 and getThreadAllocatedBytes(long[] ids), |
25 functions of com.sun.management.ThreadMXBean |
26 functions of com.sun.management.ThreadMXBean |
26 |
27 |
27 All methods should |
28 All methods should |
28 - return -1 if ThreadCpuTime allocation is not enabled |
29 - return -1 if ThreadCpuTime allocation is not enabled |
29 - return -1 for not started thread |
30 - return -1 for not started thread |