changeset 59249 | 29b0d0b61615 |
parent 59247 | 56bf71d64d51 |
child 59250 | a6deb69743d4 |
--- a/src/hotspot/share/memory/metaspace.cpp Mon Nov 25 12:30:24 2019 +0100 +++ b/src/hotspot/share/memory/metaspace.cpp Mon Nov 25 12:31:39 2019 +0100 @@ -394,7 +394,7 @@ } static void inc_stat_atomically(volatile size_t* pstat, size_t words) { - Atomic::add(words, pstat); + Atomic::add(pstat, words); } static void dec_stat_atomically(volatile size_t* pstat, size_t words) {