Skip to content

Commit 2447b98

Browse files
Suchismith RoyTheRealMDoerr
Suchismith Roy
authored andcommitted
8355498: [AIX] Adapt code for C++ VLA rule
Reviewed-by: jkern, mdoerr
1 parent db6fa59 commit 2447b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/os/aix/os_perf_aix.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ enum {
7272
* Get info for requested PID from /proc/<pid>/psinfo file
7373
*/
7474
static bool read_psinfo(const u_longlong_t& pid, psinfo_t& psinfo) {
75-
static size_t BUF_LENGTH = 32 + sizeof(u_longlong_t);
75+
const size_t BUF_LENGTH = 32 + sizeof(u_longlong_t);
7676

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

0 commit comments

Comments
 (0)