g1EvacStats.hpp needs Atomic::add_ptr that is defined in atomic.inline.hpp.
src/share/vm/gc/g1/g1EvacStats.hpp
30 #include "runtime/atomic.inline.hpp"
xxx.inline.hpp files are not supposed to be included by xxx.hpp
files.
The need for atomic.inline.hpp seems clear, and would seem to
constitute a bug in
g1EvacStats.hpp - there should be a g1EvacStats.inline.hpp file.
src/share/vm/gc/g1/g1EvacStats.hpp
30 #include "runtime/atomic.inline.hpp"
xxx.inline.hpp files are not supposed to be included by xxx.hpp
files.
The need for atomic.inline.hpp seems clear, and would seem to
constitute a bug in
g1EvacStats.hpp - there should be a g1EvacStats.inline.hpp file.