RFR (XS) 8244606: Non-PCH build is broken after JDK-8244550
Aleksey Shipilev
shade at redhat.com
Thu May 7 13:51:07 UTC 2020
Bug:
https://bugs.openjdk.java.net/browse/JDK-8244606
New code added ResourceMark usage in instanceKlass.inline.hpp, which breaks the build without PCH.
The fix is to add an include:
diff -r 55c54c172331 src/hotspot/share/oops/instanceKlass.inline.hpp
--- a/src/hotspot/share/oops/instanceKlass.inline.hpp Thu May 07 13:59:18 2020 +0100
+++ b/src/hotspot/share/oops/instanceKlass.inline.hpp Thu May 07 15:23:27 2020 +0200
@@ -27,4 +27,5 @@
#include "memory/iterator.hpp"
+#include "memory/resourceArea.hpp"
#include "oops/instanceKlass.hpp"
#include "oops/klass.hpp"
Testing: Linux x86_64 {fastdebug,release,slowdebug} builds with/without PCH; jdk-submit (running)
--
Thanks,
-Aleksey
More information about the hotspot-runtime-dev
mailing list