(lldb) bt
* thread #3, stop reason = signal SIGSTOP
    frame #0: 0x00007fffb92cbd42 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fffb93b9457 libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fffb9231420 libsystem_c.dylib`abort + 129
    frame #3: 0x0000000110e8e027 libjvm.dylib`os::abort(dump_core=true, siginfo=0x0000000000000000, context=0x0000000000000000) at os_bsd.cpp:1084
    frame #4: 0x000000011112908e libjvm.dylib`VMError::report_and_die(id=-536870912, message="assert(k->is_instance_klass()) failed", detail_fmt="cast to InstanceKlass", detail_args=0x000000010f79a7c0, thread=0x00007f9a2d802e20, pc=0x0000000000000000, siginfo=0x0000000000000000, context=0x0000000000000000, filename="/Users/cccheung/workspace/jdk-hs/open/src/hotspot/share/oops/instanceKlass.hpp", lineno=1035, size=0) at vmError.cpp:1504
    frame #5: 0x00000001111293b8 libjvm.dylib`VMError::report_and_die(thread=0x00007f9a2d802e20, filename="/Users/cccheung/workspace/jdk-hs/open/src/hotspot/share/oops/instanceKlass.hpp", lineno=1035, message="assert(k->is_instance_klass()) failed", detail_fmt="cast to InstanceKlass", detail_args=0x000000010f79a7c0) at vmError.cpp:1244
    frame #6: 0x00000001106aeabf libjvm.dylib`report_vm_error(file="/Users/cccheung/workspace/jdk-hs/open/src/hotspot/share/oops/instanceKlass.hpp", line=1035, error_msg="assert(k->is_instance_klass()) failed", detail_fmt="cast to InstanceKlass") at debug.cpp:215
  * frame #7: 0x0000000110007b49 libjvm.dylib`InstanceKlass::cast(k=0x000000013505b0d0) at instanceKlass.hpp:1035
    frame #8: 0x0000000110007a15 libjvm.dylib`InstanceKlass::cast(k=0x000000013505b0d0) at instanceKlass.hpp:1030
    frame #9: 0x0000000110c2894d libjvm.dylib`visit_all_interfaces(transitive_intf=0x000000013525cba8, blk=0x000000010f79a888) at klassVtable.cpp:1362
    frame #10: 0x0000000110c28a48 libjvm.dylib`klassItable::compute_itable_size(transitive_interfaces=0x000000013525cba8) at klassVtable.cpp:1418
    frame #11: 0x0000000110568496 libjvm.dylib`ClassFileParser::post_process_parsed_stream(this=0x000000010f79aca0, stream=0x000000010f79b050, cp=0x00000001350df910, __the_thread__=0x00007f9a2d802e20) at classFileParser.cpp:6179
    frame #12: 0x0000000110566827 libjvm.dylib`ClassFileParser::ClassFileParser(this=0x000000010f79aca0, stream=0x000000010f79b050, name=0x00007f9a2d4c9bd0, loader_data=0x00007f9a2bd70ef0, protection_domain=Handle @ 0x000000010f79aab8, host_klass=0x0000000000000000, cp_patches=0x0000000000000000, pub_level=BROADCAST, __the_thread__=0x00007f9a2d802e20) at classFileParser.cpp:5763
    frame #13: 0x000000011056870a libjvm.dylib`ClassFileParser::ClassFileParser(this=0x000000010f79aca0, stream=0x000000010f79b050, name=0x00007f9a2d4c9bd0, loader_data=0x00007f9a2bd70ef0, protection_domain=Handle @ 0x000000010f79ab38, host_klass=0x0000000000000000, cp_patches=0x0000000000000000, pub_level=BROADCAST, __the_thread__=0x00007f9a2d802e20) at classFileParser.cpp:5710
    frame #14: 0x0000000110c21633 libjvm.dylib`KlassFactory::create_from_stream(stream=0x000000010f79b050, name=0x00007f9a2d4c9bd0, loader_data=0x00007f9a2bd70ef0, protection_domain=Handle @ 0x000000010f79ac90, host_klass=0x0000000000000000, cp_patches=0x0000000000000000, __the_thread__=0x00007f9a2d802e20) at klassFactory.cpp:206
    frame #15: 0x000000011105054e libjvm.dylib`SystemDictionary::resolve_from_stream(class_name=0x00007f9a2d4c9bd0, class_loader=Handle @ 0x000000010f79afa0, protection_domain=Handle @ 0x000000010f79af98, st=0x000000010f79b050, __the_thread__=0x00007f9a2d802e20) at systemDictionary.cpp:1099
    frame #16: 0x0000000110ad3d0b libjvm.dylib`jvm_define_class_common(env=0x00007f9a2d8030d8, name="org/graalvm/compiler/hotspot/replacements/HashCodeSnippets$Templates", loader=0x000000010f79b880, buf=0x00000001181b6fd9, len=4846, pd=0x000000010f79b858, source="jrt:/jdk.internal.vm.compiler", __the_thread__=0x00007f9a2d802e20) at jvm.cpp:920
    frame #17: 0x0000000110ad4027 libjvm.dylib`::JVM_DefineClassWithSource(env=0x00007f9a2d8030d8, name="org/graalvm/compiler/hotspot/replacements/HashCodeSnippets$Templates", loader=0x000000010f79b880, buf=0x00000001181b6fd9, len=4846, pd=0x000000010f79b858, source="jrt:/jdk.internal.vm.compiler") at jvm.cpp:944
    frame #18: 0x000000010f5a9b95 libjava.dylib`Java_java_lang_ClassLoader_defineClass2(env=0x00007f9a2d8030d8, cls=0x000000010f79b840, loader=0x000000010f79b880, name=0x000000010f79b878, data=0x000000010f79b870, offset=0, length=4846, pd=0x000000010f79b858, source=0x000000010f79b850) at ClassLoader.c:202
    frame #19: 0x0000000119dc6ced
    frame #20: 0x0000000119db8ce0
    frame #21: 0x0000000119db8ce0
    frame #22: 0x0000000119db8ce0
    frame #23: 0x0000000119db8ce0
    frame #24: 0x0000000119db8ce0
    frame #25: 0x0000000119db8ce0
    frame #26: 0x0000000119db8ce0
    frame #27: 0x0000000119db8ce0
    frame #28: 0x0000000119db8ce0
    frame #29: 0x0000000119db8ce0
    frame #30: 0x0000000119dafcf3
    frame #31: 0x00000001109ab3ed libjvm.dylib`JavaCalls::call_helper(result=0x000000010f79c328, method=0x000000010f79c068, args=0x000000010f79c1e0, __the_thread__=0x00007f9a2d802e20) at javaCalls.cpp:410
    frame #32: 0x0000000110e9358e libjvm.dylib`os::os_exception_wrapper(f=(libjvm.dylib`JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*) at javaCalls.cpp:312), value=0x000000010f79c328, method=0x000000010f79c068, args=0x000000010f79c1e0, thread=0x00007f9a2d802e20)(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*), JavaValue*, methodHandle const&, JavaCallArguments*, Thread*) at os_bsd.cpp:3475
    frame #33: 0x00000001109aa024 libjvm.dylib`JavaCalls::call(result=0x000000010f79c328, method=0x000000010f79c068, args=0x000000010f79c1e0, __the_thread__=0x00007f9a2d802e20) at javaCalls.cpp:309
    frame #34: 0x00000001109a9d6c libjvm.dylib`JavaCalls::call_virtual(result=0x000000010f79c328, spec_klass=0x00000008c0002440, name=0x0000000134ded528, signature=0x0000000134def8b0, args=0x000000010f79c1e0, __the_thread__=0x00007f9a2d802e20) at javaCalls.cpp:196
    frame #35: 0x00000001109aa1d2 libjvm.dylib`JavaCalls::call_virtual(result=0x000000010f79c328, receiver=Handle @ 0x000000010f79c1d8, spec_klass=0x00000008c0002440, name=0x0000000134ded528, signature=0x0000000134def8b0, arg1=Handle @ 0x000000010f79c1d0, __the_thread__=0x00007f9a2d802e20) at javaCalls.cpp:209
    frame #36: 0x000000011056ef05 libjvm.dylib`ClassListParser::load_current_class(this=0x000000010f79c420, __the_thread__=0x00007f9a2d802e20) at classListParser.cpp:352
    frame #37: 0x00000001105867dd libjvm.dylib`ClassLoaderExt::load_one_class(parser=0x000000010f79c420, __the_thread__=0x00007f9a2d802e20) at classLoaderExt.cpp:328
    frame #38: 0x0000000110dcd903 libjvm.dylib`MetaspaceShared::preload_classes(class_list_path="./GraalWithLimitedMetaspace.classlist", __the_thread__=0x00007f9a2d802e20) at metaspaceShared.cpp:1696
    frame #39: 0x0000000110dcd526 libjvm.dylib`MetaspaceShared::preload_and_dump(__the_thread__=0x00007f9a2d802e20) at metaspaceShared.cpp:1665
    frame #40: 0x000000011109d36e libjvm.dylib`Threads::create_vm(args=0x000000010f79dda0, canTryAgain=0x000000010f79dd0b) at thread.cpp:3944
    frame #41: 0x0000000110a9b9fe libjvm.dylib`JNI_CreateJavaVM_inner(vm=0x000000010f79de98, penv=0x000000010f79de90, args=0x000000010f79dda0) at jni.cpp:3912
    frame #42: 0x0000000110a9b8dc libjvm.dylib`::JNI_CreateJavaVM(vm=0x000000010f79de98, penv=0x000000010f79de90, args=0x000000010f79dda0) at jni.cpp:4007
    frame #43: 0x000000010f519753 java`InitializeJVM + 307
    frame #44: 0x000000010f51892c java`JavaMain + 172
    frame #45: 0x00007fffb93b693b libsystem_pthread.dylib`_pthread_body + 180
    frame #46: 0x00007fffb93b6887 libsystem_pthread.dylib`_pthread_start + 286
    frame #47: 0x00007fffb93b608d libsystem_pthread.dylib`thread_start + 13