mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8156156: Add module specific NMT MemoryType
Change NMT tag for allocations for modules support to mtModule Reviewed-by: coleenp, lfoltan, gtriantafill
This commit is contained in:
parent
737a2a5946
commit
1fae073d9c
11 changed files with 38 additions and 32 deletions
|
@ -145,7 +145,7 @@ static void add_to_exploded_build_list(char *module_name, TRAPS) {
|
|||
|
||||
const char* home = Arguments::get_java_home();
|
||||
size_t len = strlen(home) + module_len + 32;
|
||||
char* path = NEW_C_HEAP_ARRAY(char, len, mtInternal);
|
||||
char* path = NEW_C_HEAP_ARRAY(char, len, mtModule);
|
||||
jio_snprintf(path, len, "%s%cmodules%c%s", home, file_sep, file_sep, module_name);
|
||||
struct stat st;
|
||||
// See if exploded module path exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue