RFR(S) 8200109: NMT: diff_malloc_site assert(early->flags() == current->flags(), "Must be the same memory type")

zgu at redhat.com zgu at redhat.com
Fri Feb 8 14:06:23 UTC 2019


On Fri, 2019-02-08 at 14:51 +0100, Aleksey Shipilev wrote:
> On 2/7/19 9:15 PM, zgu at redhat.com wrote:
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8200109
> > Webrev: http://cr.openjdk.java.net/~zgu/JDK-8200109/webrev.00/
> 
> *) Stray newline at L704:
> 
>  697 // Alloc memory with pseudo call stack and specific memory type.
>  698 WB_ENTRY(jlong, WB_NMTMallocWithPseudoStackAndType(JNIEnv* env,
> jobject o, jlong size, jint
> pseudo_stack, jint type))
>  699   address pc = (address)(size_t)pseudo_stack;
>  700   NativeCallStack stack(&pc, 1);
>  701   return (jlong)(uintptr_t)os::malloc(size, (MEMFLAGS)type,
> stack);
>  702 WB_END
>  703
>  704
> 
> Otherwise good!
> 
Thanks. Will fix before push.

-Zhengyu


> Thanks,
> -Aleksey
> 


More information about the hotspot-runtime-dev mailing list