src/os/aix/vm/porting_aix.cpp

Print this page
rev 6239 : 8039805: Fix the signature of the global new/delete operators in allocation.cpp

@@ -21,10 +21,11 @@
  * questions.
  *
  */
 
 #include "asm/assembler.hpp"
+#include "memory/allocation.hpp"
 #include "loadlib_aix.hpp"
 #include "porting_aix.hpp"
 #include "utilities/debug.hpp"
 
 #include <demangle.h>

@@ -65,11 +66,11 @@
 // of the mapped executable image ready to use. On AIX, this doesn't
 // work, so I have to keep the returned strings. For now, I do this in
 // a primitive string map. Should this turn out to be a performance
 // problem, a better hashmap has to be used.
 class fixed_strings {
-  struct node {
+  struct node : public CHeapObj<mtInternal> {
     char* v;
     node* next;
   };
 
   node* first;