-
Bug
-
Resolution: Fixed
-
P2
-
16, 17
-
b29
-
generic
-
aix
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8258371 | 17 | Markus Grönlund | P2 | Resolved | Fixed | b02 |
The AIX build fails after 8257602 with the error :
./src/hotspot/share/gc/shared/allocTracer.cpp:35:8: error: unknown type name 'THREAD_LOCAL'
static THREAD_LOCAL int64_t _last_allocated_bytes = 0;
^
./src/hotspot/share/gc/shared/allocTracer.cpp:35:28: error: expected ';' after top level declarator
static THREAD_LOCAL int64_t _last_allocated_bytes = 0;
^
;
./src/hotspot/share/gc/shared/allocTracer.cpp:41:45: error: use of undeclared identifier '_last_allocated_bytes'
const size_t weight = allocated_bytes - _last_allocated_bytes;
^
./src/hotspot/share/gc/shared/allocTracer.cpp:46:5: error: use of undeclared identifier '_last_allocated_bytes'; did you mean 'allocated_bytes'?
_last_allocated_bytes = allocated_bytes;
Probably we should not build that JFR only (?) codinf because JFR is not supported on AIX.
Additionally the THREAD_LOCAL macro is not defined at the moment on AIX/xlc.
./src/hotspot/share/gc/shared/allocTracer.cpp:35:8: error: unknown type name 'THREAD_LOCAL'
static THREAD_LOCAL int64_t _last_allocated_bytes = 0;
^
./src/hotspot/share/gc/shared/allocTracer.cpp:35:28: error: expected ';' after top level declarator
static THREAD_LOCAL int64_t _last_allocated_bytes = 0;
^
;
./src/hotspot/share/gc/shared/allocTracer.cpp:41:45: error: use of undeclared identifier '_last_allocated_bytes'
const size_t weight = allocated_bytes - _last_allocated_bytes;
^
./src/hotspot/share/gc/shared/allocTracer.cpp:46:5: error: use of undeclared identifier '_last_allocated_bytes'; did you mean 'allocated_bytes'?
_last_allocated_bytes = allocated_bytes;
Probably we should not build that JFR only (?) codinf because JFR is not supported on AIX.
Additionally the THREAD_LOCAL macro is not defined at the moment on AIX/xlc.
- backported by
-
JDK-8258371 AIX build fails after 8257602
- Resolved
- relates to
-
JDK-8258404 Restore stacktrace reuse after 8258094
- Resolved