Another failure: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=1281472.JAVASE.NIGHTLY.TEST.Unstable_Baseline.2016-01-19.test-800#nsk.stress.jck%20[%28!to_be_deleted_in_JDK9%29&&%28!exclude%29&&%28!quarantine%29&&%28!quarantine_zero_failures_project%29&&%28!quarantine_sa_project%29&&%28!desktop%29]%20%28tonga%29_nsk/stress/metaspace/jck90/jck90013 JavaThread 0x0000000025a27000 (nid = 5320) was being processed Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) jvm.dll!os::PlatformEvent::park() jvm.dll!Monitor::IWait(Thread * Self=0x0000000025a27000, __int64 timo=0) jvm.dll!Monitor::wait(bool no_safepoint_check, long timeout=0, bool as_suspend_equivalent=false) jvm.dll!CompileBroker::wait_for_completion(CompileTask * task=0x00000000226d0540) jvm.dll!CompileBroker::compile_method_base(const methodHandle & method={...}, int osr_bci, int comp_level=3, const methodHandle & hot_method={...}, int hot_count=0, const char * comment=0x000000006fea2b98, Thread * thread=0x0000000025a27000) jvm.dll!CompileBroker::compile_method(const methodHandle & method={...}, int osr_bci=-1, int comp_level=3, const methodHandle & hot_method={...}, int hot_count=0, const char * comment=0x000000006fea2b98, Thread * __the_thread__=0x0000000025a27000) jvm.dll!CallInfo::set_common(KlassHandle resolved_klass={...}, KlassHandle selected_klass={...}, const methodHandle & resolved_method={...}, const methodHandle & selected_method={...}, CallInfo::CallKind kind=vtable_call, int index=1, Thread * __the_thread__=0x0000000025a27000) jvm.dll!CallInfo::set_virtual(KlassHandle resolved_klass={...}, KlassHandle selected_klass={...}, const methodHandle & resolved_method={...}, const methodHandle & selected_method={...}, int vtable_index=1, Thread * __the_thread__=0x0000000025a27000) jvm.dll!LinkResolver::runtime_resolve_virtual_method(CallInfo & result={...}, const methodHandle & resolved_method={...}, KlassHandle resolved_klass={...}, Handle recv={...}, KlassHandle recv_klass={...}, bool check_null_and_abstract=true, Thread * __the_thread__=0x0000000025a27000) jvm.dll!LinkResolver::resolve_invokevirtual(CallInfo & result={...}, Handle recv={...}, const constantPoolHandle & pool={...}, int index=65560, Thread * __the_thread__=0x0000000025a27000) jvm.dll!LinkResolver::resolve_invoke(CallInfo & result={...}, Handle recv={...}, const constantPoolHandle & pool={...}, int index=65560, Bytecodes::Code byte=_invokevirtual, Thread * __the_thread__=0x0000000025a27000) jvm.dll!SharedRuntime::find_callee_info_helper(JavaThread * thread=0x0000000025a27000, vframeStream & vfst={...}, Bytecodes::Code & bc=_invokevirtual, CallInfo & callinfo={...}, Thread * __the_thread__=0x0000000025a27000) jvm.dll!SharedRuntime::resolve_sub_helper(JavaThread * thread=0x0000000025a27000, bool is_virtual=true, bool is_optimized=false, Thread * __the_thread__=0x0000000025a27000) jvm.dll!SharedRuntime::resolve_helper(JavaThread * thread=0x0000000025a27000, bool is_virtual, bool is_optimized, Thread * __the_thread__=0x0000000025a27000) jvm.dll!SharedRuntime::resolve_virtual_call_C(JavaThread * thread=0x0000000025a27000) v ~RuntimeStub::resolve_virtual_call J 5970 C2 java.util.concurrent.ConcurrentHashMap.get(Ljava/lang/Object;)Ljava/lang/Object; (162 bytes) @ 0x000000000e404f98 [0x000000000e404c20+0x0000000000000378] j java.io.ObjectStreamClass.getReflector([Ljava/io/ObjectStreamField;Ljava/io/ObjectStreamClass;)Ljava/io/ObjectStreamClass$FieldReflector;+44 J 4784 C2 java.io.ObjectStreamClass.lookup(Ljava/lang/Class;Z)Ljava/io/ObjectStreamClass; (335 bytes) @ 0x000000000e463f2c [0x000000000e462ca0+0x000000000000128c] J 4955 C1 java.io.ObjectOutputStream.writeObject0(Ljava/lang/Object;Z)V (619 bytes) @ 0x00000000076dc694 [0x00000000076dbd00+0x0000000000000994] J 4945 C2 java.io.ObjectOutputStream.writeObject(Ljava/lang/Object;)V (38 bytes) @ 0x000000000e46e5c4 [0x000000000e46e580+0x0000000000000044] j javasoft.sqe.serial.util.Convert.writeObjectToByteArray(Ljava/lang/Object;)[B+19 j javasoft.sqe.serial.util.Convert.objectToStreamObject(Ljava/lang/Object;)Ljavasoft/sqe/serial/StreamObject;+1 j javasoft.sqe.tests.api.java.io.StreamCorruptedException.serial.ConstructorTests.ConstructorTest0001()Ljavasoft/sqe/javatest/Status;+56 VMThread: jvm.dll!MarkAndPushClosure::do_klass(Klass * k=0x0000000100d67030) jvm.dll!InstanceKlass::oop_oop_iterate_nv(oopDesc * obj=0x00000000e5d3b880, MarkAndPushClosure * closure=0x00000000700e0228) jvm.dll!MarkSweep::follow_stack() jvm.dll!InterpreterFrameClosure::offset_do(int offset=0x00000001) jvm.dll!InterpreterOopMap::iterate_oop(OffsetClosure * oop_closure=0x000000001b49db50) jvm.dll!frame::oops_interpreted_do(OopClosure * f=0x00000000700e01f8, CLDClosure * cld_f=0x00000000700e0238, const RegisterMap * map=0x000000001b49dd18, bool query_oop_map_cache=true) jvm.dll!JavaThread::oops_do(OopClosure * f=0x00000000700e01f8, CLDClosure * cld_f=0x00000000700e0238, CodeBlobClosure * cf=0x000000001b49f1c0) jvm.dll!Threads::possibly_parallel_oops_do(bool is_par, OopClosure * f=0x00000000700e01f8, CLDClosure * cld_f=0x00000000700e0238, CodeBlobClosure * cf=0x000000001b49f1c0) jvm.dll!G1RootProcessor::process_java_roots(G1RootClosures * closures=0x000000001b49f0c0, G1GCPhaseTimes * phase_times=0x0000000000000000, unsigned int worker_i=0x00000000) jvm.dll!G1RootProcessor::process_strong_roots(OopClosure * oops=0x00000000700e01f8, CLDClosure * clds=0x00000000700e0238, CodeBlobClosure * blobs=0x000000001b49f1c0) jvm.dll!G1MarkSweep::mark_sweep_phase1(bool & marked_for_unloading=0xe0, bool clear_all_softrefs=false) jvm.dll!G1MarkSweep::invoke_at_safepoint(ReferenceProcessor * rp=0x000000001aeccb80, bool clear_all_softrefs=false) jvm.dll!G1CollectedHeap::do_full_collection(bool explicit_gc=true, bool clear_all_soft_refs=false) jvm.dll!VM_G1CollectFull::doit() jvm.dll!VM_Operation::evaluate() jvm.dll!VMThread::evaluate_operation(VM_Operation * op=0x0000000027dbf2f0) jvm.dll!VMThread::loop() jvm.dll!VMThread::run() jvm.dll!java_start(Thread * thread=0x000000001af69800) Iterating over an interpreter frame: j java.io.ObjectStreamClass.getReflector([Ljava/io/ObjectStreamField;Ljava/io/ObjectStreamClass;)Ljava/io/ObjectStreamClass$FieldReflector;+44 Root (local #1) being processed: 0x00000000e1cbdc80 (instance of java.io.ObjectSteamClass) 0x00000000e1cbdc80 0x0000000000000003 0x200190e5 0xe1b8c188 = cl: j.l.Class (klass=0x100026b00) (java/io/StreamCorruptedException) 0xe1b71c80 = name: String (0x200002f3 = 0x100001798) (java/lang/String) 0xe1cbde30 = suid: Long (0x2000246d = 0x100012368) (java/lang/Long) 0xe1bc6020 = fields: ObjectStreamField[] (0x20003166 = 0x100018b30) ([Ljava/io/ObjectStreamField;) 0xe5d3b8b0 = cons: Constructor (0x20001224 = 0x100009120) (java/lang/reflect/Constructor) 0xe1b94160 = clazz : Class (java/lang/Object) 0xe5d3b890 = ? 0xe5d3b8a0 = ? 0xe1c25e70 = ? 0xe5d3b880 = sun.reflect.GeneratedSerializationConstructorAccessor80 0xe1cbdc80 = localDesc (0x200190e5 = 0x1000c8728) (java/io/ObjectStreamClass) 0xe1c70620 = superDesc (0x200190e5 = 0x1000c8728) (java/io/ObjectStreamClass) Crashes trying to mark the following oop: 0x00000000e5d3b880 sun.reflect.GeneratedSerializationConstructorAccessor80 - klass: 0x0000000100d67030 'sun/reflect/GeneratedSerializationConstructorAccessor80' _layout_helper 0x00000010 int _super_check_offset 0x00000050 unsigned int _name 0x0000000021084a20 {_length=0x0037 _refcount=0x0000 _identity_hash=0xe7e7 ...} Symbol * _secondary_super_cache 0x0000000000000000 Klass * _secondary_supers 0x000000001a56b2c0 {_length=0x00000001 _data=0x000000001a56b2c8 {0x0000000100009ba0 {_layout_helper=...}} } Array * _primary_supers 0x0000000100d67060 {0x0000000100000fb0 {_layout_helper=0x00000010 _super_check_offset=0x00000030 _name=...}, ...} Klass *[0x00000008] _java_mirror 0x00000000e1cbe880 {_mark=0x00000000e1cbe888 {...} _metadata={_klass=0x0000000000000003 {_layout_helper=...} ...} } oopDesc * _super 0x0000000103fac5f8 {_annotations=0x0000000000000000 _array_klasses=0x0000000000000000 ...} Klass * _subklass 0x0000000000000000 Klass * _next_sibling 0x0000000100ae6030 {_annotations=0x0000000000000000 _array_klasses=0x0000000000000000 ...} Klass * _next_link 0x0000000000000000 Klass * _class_loader_data 0x000000001b0cbcc0 {_class_loader=0xbabababababababa {_mark=??? _metadata={_klass=??? _compressed_klass=...} } ...} ClassLoaderData * _modifier_flags 0x00000001 int _access_flags {_flags=0x20000001 } AccessFlags _last_biased_lock_bulk_revocation_time 0x0000000000000000 __int64 _prototype_header 0x0000000000000005 {...} markOopDesc * _biased_lock_revocation_count 0x00000000 int _trace_id 0x00000001f51d0000 unsigned __int64 _modified_oops 0x01 '\x1' char _accumulated_modified_oops 0x00 '\0' char _shared_class_path_index 0xffff short _class_loader_data is overwritten with '0xba's. Latest Full GC shows 4k reduction in Metaspace size: Event: 613.408 GC heap before {Heap before GC invocations=1113 (full 1055): garbage-first heap total 97280K, used 29455K [0x00000000e0000000, 0x00000000e01002f8, 0x0000000100000000) region size 1024K, 1 young (1024K), 0 survivors (0K) Metaspace used 11618K, capacity 11962K, committed 96000K, reserved 96256K class space used 1418K, capacity 1538K, committed 65536K, reserved 65536K } Event: 613.804 GC heap after {Heap after GC invocations=1114 (full 1056): garbage-first heap total 97280K, used 29450K [0x00000000e0000000, 0x00000000e01002f8, 0x0000000100000000) region size 1024K, 0 young (0K), 0 survivors (0K) Metaspace used 11614K, capacity 11955K, committed 96000K, reserved 96256K class space used 1417K, capacity 1536K, committed 65536K, reserved 65536K } Heap stats before crashing: Event: 613.808 GC heap before {Heap before GC invocations=1114 (full 1056): garbage-first heap total 97280K, used 30474K [0x00000000e0000000, 0x00000000e01002f8, 0x0000000100000000) region size 1024K, 2 young (2048K), 0 survivors (0K) Metaspace used 11615K, capacity 11955K, committed 96000K, reserved 96256K class space used 1417K, capacity 1536K, committed 65536K, reserved 65536K } Test log: [612.622s][info ][gc ] GC(1133) Pause Full (System.gc()) 29M->28M(95M) (612.233s, 612.622s) 388.437ms [612.622s][info ][gc,heap ] GC(1133) Eden: 1024K->0K(56320K) [612.622s][info ][gc,heap ] GC(1133) Survivor: 0K->0K(7168K) [612.622s][info ][gc,heap ] GC(1133) Old: 3072K->3072K [612.622s][info ][gc,heap ] GC(1133) Humongous: 26624K->26624K [612.622s][info ][gc,metaspace] GC(1133) Metaspace: 11612K->11612K(96256K) [612.622s][info ][gc,cpu ] GC(1133) User=0.42s Sys=0.00s Real=0.39s >> Trying to interrupt threadTestThread #1 ... >> Trying to interrupt threadTestThread #99 [612.628s][info ][gc,start ] GC(1134) Pause Full (System.gc()) (612.628s) [613.016s][info ][gc ] GC(1134) Pause Full (System.gc()) 31M->28M(95M) (612.628s, 613.016s) 387.257ms [613.016s][info ][gc,heap ] GC(1134) Eden: 3072K->0K(56320K) [613.016s][info ][gc,heap ] GC(1134) Survivor: 0K->0K(7168K) [613.016s][info ][gc,heap ] GC(1134) Old: 3072K->3072K [613.016s][info ][gc,heap ] GC(1134) Humongous: 26624K->26624K [613.016s][info ][gc,metaspace] GC(1134) Metaspace: 11618K->11618K(96256K) [613.016s][info ][gc,cpu ] GC(1134) User=0.39s Sys=0.00s Real=0.39s [613.017s][info ][gc,start ] GC(1135) Pause Full (System.gc()) (613.017s) [613.406s][info ][gc ] GC(1135) Pause Full (System.gc()) 29M->28M(95M) (613.017s, 613.406s) 388.926ms [613.406s][info ][gc,heap ] GC(1135) Eden: 1024K->0K(56320K) [613.406s][info ][gc,heap ] GC(1135) Survivor: 0K->0K(7168K) [613.406s][info ][gc,heap ] GC(1135) Old: 3072K->3072K [613.406s][info ][gc,heap ] GC(1135) Humongous: 26624K->26624K [613.406s][info ][gc,metaspace] GC(1135) Metaspace: 11618K->11618K(96256K) [613.407s][info ][gc,cpu ] GC(1135) User=0.39s Sys=0.00s Real=0.39s [613.408s][info ][gc,start ] GC(1136) Pause Full (System.gc()) (613.408s) [613.804s][info ][gc ] GC(1136) Pause Full (System.gc()) 28M->28M(95M) (613.408s, 613.804s) 396.142ms [613.804s][info ][gc,heap ] GC(1136) Eden: 1024K->0K(56320K) [613.804s][info ][gc,heap ] GC(1136) Survivor: 0K->0K(7168K) [613.804s][info ][gc,heap ] GC(1136) Old: 3072K->3072K [613.804s][info ][gc,heap ] GC(1136) Humongous: 26624K->26624K [613.804s][info ][gc,metaspace] GC(1136) Metaspace: 11618K->11614K(96256K) [613.804s][info ][gc,cpu ] GC(1136) User=0.42s Sys=0.00s Real=0.40s [613.808s][info ][gc,start ] GC(1137) Pause Full (System.gc()) (613.808s) # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006fa7fc55, pid=3476, tid=9104