Skip to content

Commit

Permalink
Renamed mallochook to mallochooks for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
schmelter-sap committed Aug 15, 2023
1 parent 67e0966 commit e08a57f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions make/modules/java.base/Copy.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,12 @@ TARGETS += $(CREATE_CLASSFILE_CONSTANTS_H)

ifeq ($(call isTargetOs, windows), false)

$(eval $(call SetupCopyFiles, CREATE_MALLOC_HOOK_H, \
FILES := $(TOPDIR)/src/java.base/unix/native/libmallochooks/mallochook.h, \
$(eval $(call SetupCopyFiles, CREATE_MALLOC_HOOKS_H, \
FILES := $(TOPDIR)/src/java.base/unix/native/libmallochooks/mallochooks.h, \
DEST := $(SUPPORT_OUTPUTDIR)/modules_include/java.base/, \
))

TARGETS += $(CREATE_MALLOC_HOOK_H)
TARGETS += $(CREATE_MALLOC_HOOKS_H)
endif

################################################################################
1 change: 1 addition & 0 deletions src/hotspot/os/posix/malloctrace/mallocTrace2.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "precompiled.hpp"

#include "jvm_io.h"
#include "mallochooks.h"
#include "malloctrace/mallocTrace2.hpp"
#include "utilities/ostream.hpp"

Expand Down
1 change: 0 additions & 1 deletion src/hotspot/os/posix/malloctrace/mallocTrace2.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef OS_POSIX_MALLOCTRACE_MALLOCTRACE_HPP
#define OS_POSIX_MALLOCTRACE_MALLOCTRACE_HPP

#include "mallochook.h"
#include "utilities/globalDefinitions.hpp"

class outputStream;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/mallochook/testmallochook.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <string.h>
#include <malloc.h>

#include "mallochook.h"
#include "mallochooks.h"

#define PRINT_CALLER_ADDRESS 1

Expand Down

0 comments on commit e08a57f

Please sign in to comment.