RFR(T) 8252398 minimal debug build broken - CURRENT_PC undefined in resourceArea.inline.hpp

Ioi Lam ioi.lam at oracle.com
Wed Aug 26 20:32:36 UTC 2020


https://bugs.openjdk.java.net/browse/JDK-8252398

This seems to have been a long standing issue but recent changes caused 
it to surface and break the minimal VM debug build.

The fix is simple. CURRENT_PC is #define'ed in memTracker.hpp so we 
should add the include.

Thanks
- Ioi

========================
$ hg diff
diff -r 34a78b672b7c src/hotspot/share/memory/resourceArea.inline.hpp
--- a/src/hotspot/share/memory/resourceArea.inline.hpp Fri Aug 21 
02:03:53 2020 -0700
+++ b/src/hotspot/share/memory/resourceArea.inline.hpp Wed Aug 26 
13:27:32 2020 -0700
@@ -26,6 +26,7 @@
  #define SHARE_MEMORY_RESOURCEAREA_INLINE_HPP

  #include "memory/resourceArea.hpp"
+#include "services/memTracker.hpp"

  inline char* ResourceArea::allocate_bytes(size_t size, AllocFailType 
alloc_failmode) {



More information about the hotspot-runtime-dev mailing list