Skip to content
Permalink
Browse files
8286346: 3-parameter version of AllocateHeap should not ignore AllocF…
…ailType

Reviewed-by: kbarrett, dholmes, stuefe
  • Loading branch information
zhengyu123 committed May 9, 2022
1 parent 4f5d73f commit 64b05ccbed7879dd38a49453a6098bfe9729ee76
Showing 1 changed file with 1 addition and 1 deletion.
@@ -49,7 +49,7 @@ char* AllocateHeap(size_t size,
char* AllocateHeap(size_t size,
MEMFLAGS flags,
AllocFailType alloc_failmode /* = AllocFailStrategy::EXIT_OOM*/) {
return AllocateHeap(size, flags, CALLER_PC);
return AllocateHeap(size, flags, CALLER_PC, alloc_failmode);
}

char* ReallocateHeap(char *old,

1 comment on commit 64b05cc

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 64b05cc May 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.