RFR (S): 7195816: NPG: Crash in c1_ValueType - ShouldNotReachHere

Roland Westrelin roland.westrelin at oracle.com
Mon Sep 10 08:33:53 PDT 2012


> So is this correct also?
> 
> 1038     case T_ARRAY:   // fall through
> 1039     case T_OBJECT:  // fall through
> 1047       if (UseCompressedOops&&  !wide) {
> 1048         __ movl(as_Address(to_addr), compressed_src);
> 1049       } else {
> 1050         __ movptr(as_Address(to_addr), src->as_register());
> 1051       }
> 1052       break;
>         case T_METADATA:
> 1041       // We get here to store a method pointer to the stack to pass to
> 1042       // a dtrace runtime call. This can't work on 64 bit with
> 1043       // compressed klass ptrs: T_METADATA can be a compressed klass
> 1044       // ptr or a 64 bit method pointer.
> 1045       LP64_ONLY(ShouldNotReachHere);
> 1050       __ movptr(as_Address(to_addr), src->as_register());
>           break;

Yes, it's correct.

Roland.


More information about the hotspot-compiler-dev mailing list