Skip to content

Commit 0726d08

Browse files
Suchismith RoyPaul Hohensee
authored andcommitted
8355498: [AIX] Adapt code for C++ VLA rule
Backport-of: 2447b9812a9f7316a2313f70db4974534fceb9d9
1 parent f64cc32 commit 0726d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/os/aix/os_perf_aix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ enum {
7373
* Get info for requested PID from /proc/<pid>/psinfo file
7474
*/
7575
static bool read_psinfo(const u_longlong_t& pid, psinfo_t& psinfo) {
76-
static size_t BUF_LENGTH = 32 + sizeof(u_longlong_t);
76+
const size_t BUF_LENGTH = 32 + sizeof(u_longlong_t);
7777

7878
FILE* fp;
7979
char buf[BUF_LENGTH];

0 commit comments

Comments
 (0)