Build broken on Windows x64

Tobias Hartmann tobias.hartmann at oracle.com
Fri Feb 17 08:42:11 UTC 2017


Hi,

any updates on this?

I'm also seeing these failures on multiple platforms:

#  Internal Error (/scratch/opt/jprt/T/P1/173212.tohartma/s/hotspot/src/share/vm/classfile/javaClasses.cpp:891), pid=1767, tid=1770
#  assert(_protection_domain_offset != 0) failed: must be set

Stack: [0x00007fd82cafd000,0x00007fd82cbfe000],  sp=0x00007fd82cbfbdb0,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x138b61f]  VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x15f
V  [libjvm.so+0x138c2ff]  VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
V  [libjvm.so+0x94402d]  report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
V  [libjvm.so+0xc436a9]  java_lang_Class::protection_domain(oop)+0x39
V  [libjvm.so+0xbef365]  InstanceKlass::protection_domain() const+0x35
V  [libjvm.so+0x11db684]  AdapterHandlerLibrary::get_adapter(methodHandle const&)+0x194
V  [libjvm.so+0xfb2708]  Method::make_adapters(methodHandle, Thread*)+0x18
V  [libjvm.so+0xfb2fdb]  Method::link_method(methodHandle const&, Thread*) [clone .part.110]+0x14b
V  [libjvm.so+0xfb311a]  Method::restore_unshareable_info(Thread*)+0xaa
V  [libjvm.so+0xc011d8]  InstanceKlass::restore_unshareable_info(ClassLoaderData*, Handle, Thread*)+0x78
V  [libjvm.so+0x12a736b]  SystemDictionary::load_shared_class(instanceKlassHandle, Handle, Handle, Thread*)+0x29b
V  [libjvm.so+0x12a7542]  SystemDictionary::load_shared_class(Symbol*, Handle, Thread*)+0xd2
V  [libjvm.so+0x12a3e1a]  SystemDictionary::load_instance_class(Symbol*, Handle, Thread*)+0x19a
V  [libjvm.so+0x12a4feb]  SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, Thread*)+0xa7b
V  [libjvm.so+0x12a56c1]  SystemDictionary::resolve_or_null(Symbol*, Handle, Handle, Thread*)+0xf1
V  [libjvm.so+0x12a590e]  SystemDictionary::resolve_or_fail(Symbol*, Handle, Handle, bool, Thread*)+0x1e
V  [libjvm.so+0x12a60a1]  SystemDictionary::initialize_wk_klass(SystemDictionary::WKID, int, Thread*)+0x151
V  [libjvm.so+0x12a612e]  SystemDictionary::initialize_wk_klasses_until(SystemDictionary::WKID, SystemDictionary::WKID&, Thread*)+0x5e
V  [libjvm.so+0x12a6239]  SystemDictionary::initialize_preloaded_classes(Thread*)+0x69
V  [libjvm.so+0x12a678c]  SystemDictionary::initialize(Thread*)+0x24c
V  [libjvm.so+0x13159e0]  Universe::genesis(Thread*)+0x790
V  [libjvm.so+0x13163ac]  universe2_init()+0x2c
V  [libjvm.so+0xbef0b8]  init_globals()+0xa8
V  [libjvm.so+0x12e2adb]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x24b
V  [libjvm.so+0xc62b7e]  JNI_CreateJavaVM+0x8e
C  [libjli.so+0x7173]  JavaMain+0x83
C  [libpthread.so.0+0x7dc5]  start_thread+0xc5

Best regards,
Tobias

On 19.01.2017 11:32, Tobias Hartmann wrote:
> Hi Fred,
> 
> the Windows x64 build is currently broken due to:
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(283) : error C2065: '_num_int_args' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(283) : error C2050: switch expression not integral
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(287) : error C2065: '_num_int_args' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(294) : error C2065: '_num_int_args' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(301) : error C2065: '_num_int_args' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(305) : error C2065: 'c_rarg4' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(307) : error C2065: 'c_rarg4' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(308) : error C2065: '_num_int_args' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(312) : error C2065: 'c_rarg5' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(314) : error C2065: 'c_rarg5' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(315) : error C2065: '_num_int_args' : undeclared identifier
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(554) : error C2259: 'SlowSignatureHandler' : cannot instantiate abstract class
>         due to following members:
>         'void NativeSignatureIterator::pass_valuetype(void)' : is abstract
>         C:\jprt\T\P1\093341.tohartma\s\hotspot\src\share\vm\runtime/signature.hpp(326) : see declaration of 'NativeSignatureIterator::pass_valuetype'
> C:\jprt\T\P1\093341.tohartma\s\hotspot\src\cpu\x86\vm\interpreterRT_x86_64.cpp(554) : error C2228: left of '.iterate' must have class/struct/union
> 
> The problem is that there are some #ifdef _WIN64 in the code and the WIN64 specific code is not implemented. Is this intended?
> 
> Thanks,
> Tobias
> 


More information about the valhalla-dev mailing list