mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8039805: Fix the signature of the global new/delete operators in allocation.cpp
Reviewed-by: dholmes, lfoltan
This commit is contained in:
parent
3e6986fb58
commit
693f28c012
5 changed files with 36 additions and 23 deletions
|
@ -23,6 +23,7 @@
|
|||
*/
|
||||
|
||||
#include "asm/assembler.hpp"
|
||||
#include "memory/allocation.hpp"
|
||||
#include "loadlib_aix.hpp"
|
||||
#include "porting_aix.hpp"
|
||||
#include "utilities/debug.hpp"
|
||||
|
@ -67,7 +68,7 @@ inline char* align_ptr_up(char* ptr, intptr_t alignment) {
|
|||
// 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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue