Requesting approval to integrate hs24-b23 into jdk7u12-b01.
A webrev is available at: http://cr.openjdk.java.net/~amurillo/7u12/hs24-b23-jdk7u12-b01.webrev/ Pre-integration testing is in progress; the integration will proceed only after SQE has analyzed the results and approved. The fixes in the proposed integration are below. All have undergone nightly testing and are already in a jdk8 repository. This integration will include necessary JSR 292 related JDK changes as well. The bugs associated with those changes are listed at the end of this email. 4988100: oop_verify_old_oop appears to be dead 6294277: java -Xdebug crashes on SourceDebugExtension attribute larger than 64K 6310967: SA: jstack -m produce failures in output 6340864: Implement vectorization optimizations in hotspot-server 6658428: C2 doesn't inline java method if corresponding intrinsic failed to inline. 6677625: Move platform specific flags from globals.hpp to globals_<arch>.hpp 6711908: JVM needs direct access to some annotations 6818524: G1: use ergonomic resizing of PLABs 6910461: Register allocator may insert spill code at wrong insertion index 6910464: Lookupswitch and Tableswitch default branches not recognized as safepoints 6921087: G1: remove per-GC-thread expansion tables from the fine-grain remembered sets 6924259: Remove String.count/String.offset 6984705: JSR 292 method handle creation should not go through JNI 6995781: Native Memory Tracking (Phase 1) 7023639: JSR 292 method handle invocation needs a fast path for compiled code 7041879: G1: introduce stress testing parameter to cause frequent evacuation failures 7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms 7063674: Wrong results from basic comparisons after calls to Long.bitCount(long) 7068625: Testing 8 bytes of card table entries at a time speeds up card-scanning 7087357: JSR 292: remove obsolete code after 7085860 7087969: GarbageCollectorMXBean notification contains ticks vs millis 7093328: JVMTI: jvmtiPrimitiveFieldCallback always report 0's for static primitives 7103665: HeapWord*ParallelScavengeHeap::failed_mem_allocate(unsigned long,bool)+0x97 7109878: The instanceKlass EnclosingMethhod attribute fields can be folded into the _inner_class field. 7110104: It should be possible to stop and start JMX Agent at runtime 7110720: Issue with vm config file loadingIssue with vm config file loading 7114678: G1: various small fixes, code cleanup, and refactoring 7116786: RFE: Detailed information on VerifyErrors 7118280: The gbyc00102 JCK7 test causes an assert in JVM 7.0 fastdebug mode 7119644: Increase superword's vector size up to 256 bits 7120481: storeStore barrier in constructor with final field 7123170: JCK vm/jvmti/ResourceExhausted/resexh001/resexh00101/ tests fails since 7u4 b02 7123926: Some CTW test crash: !_control.contains(ctrl) 7127697: G1: remove dead code after recent concurrent mark changes 7129401: PPC: runtime/7100935/TestShortArraycopy.java fails 7129715: MAC: SIGBUS in nsk stress test 7129723: MAC: Some regression tests need to recognize Mac OS X platform 7129724: MAC: Core file location is wrong in crash report 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6 7130974: G1: Remove G1ParCopyHelper 7131629: Generalize the CMS free list code 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX 7133111: libsaproc debug print should be printed as unsigned long to fit large numbers on 64bit platform 7133857: exp() and pow() should use the x87 ISA on x86 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built 7142641: -Xshared:on fails on ARM 7143490: G1: Remove HeapRegion::_top_at_conc_mark_count 7143511: G1: Another instance of high GC Worker Other time (50ms) 7143858: G1: Back to back young GCs with the second GC having a minimally sized eden 7144328: Improper commandlines for -XX:+-UnlockCommercialFeatures require proper warning/error messages 7145024: Crashes in ucrypto related to C2 7145358: SA throws ClassCastException for partially loaded ConstantPool 7145441: G1: collection set chooser-related cleanup 7146246: G1: expose some of the -XX flags that drive which old regions to collect during mixed GCs 7146442: assert(false) failed: bad AD file 7146700: new hotspot build - hs24-b01 7147064: assert(allocates2(pc)) failed: not in CodeBuffer memory: 0xffffffff778d9d60 <= 0xffffffff778da69c 7147416: LogCompilation tool does not work with post parse inlining 7147464: Java crashed while executing method with over 8k of dneg operations 7147724: G1: hang in SurrogateLockerThread::manipulatePLL 7147740: add assertions to check stack alignment on VM entry from generated code (x64) 7147744: CTW: assert(false) failed: infinite EA connection graph build 7147806: G1: Crash in vm bootstrap when running with -XX:+UseG1GC -XX:-UsePerfData 7148109: C2 compiler consumes too much heap resources 7148126: ConstantPoolCacheEntry::print prints to wrong stream 7148152: Add whitebox testing API to HotSpot 7148486: At a method handle call returning with an exception may call the runtime with misaligned stack (x64) 7148488: Whitebox tests for the Diagnostic Framework Parser 7148664: new hotspot build - hs24-b02 7150046: SIGILL on sparcv9 fastdebug 7150051: incorrect oopmap in critical native 7150058: Allocate symbols from null boot loader to an arena for NMT 7150327: new hotspot build - hs24-b03 7150390: JFR test crashed on assert(_jni_lock_count == count) failed: must be equal 7150454: add release jdk7u4 to jprt.properties 7150899: remove unused build.targets lines from jprt.properties 7151089: PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages 7151532: DCmd for hotspot native memory tracking 7152031: Hotspot needs updated xawt path [macosx] 7152206: anti-delta the fix for 7152031 7152700: new hotspot build - hs24-b04 7152791: wbapi tests fail on cygwin 7152800: All tests using the attach API fail with "well-known file is not secure" on Mac OS X 7152811: Issues in client compiler 7152954: G1: Native memory leak during full GCs 7152955: print_method crashes with null root 7152957: VM crashes with assert(false) failed: bad AD file 7152961: InlineTree::should_not_inline may exit prematurely 7153374: ARM ONLY .. linking problem with new compilers.. Need to use -fPIC 7154333: JVM fails to start if -XX:+AggressiveHeap is set 7154517: Build error in hotspot-gc without precompiled headers 7154641: Servicability agent should work on platforms other than x86, sparc 7154670: The instanceKlass _implementors[] and _nof_implementors are not needed for non-interface klass. 7154706: new hotspot build - hs23-b05 7154724: jdk7u4 test properties missing from jprt.properties 7154997: assert(false) failed: not G1 barrier raw StoreP 7155453: [macosx] re-enable jbb tests in JPRT 7156659: new hotspot build - hs24-b06 7156729: PPC: R_PPC_REL24 relocation error related to some libraries built without -fPIC 7156764: Remove unused size parameter from some CollectedHeap methods 7156960: Incorrect copyright headers in parts of the Serviceability agent 7157073: G1: type change size_t -> uint for region counts / indexes 7157141: crash in 64 bit with corrupted oops 7157365: jruby/bench.bench_timeout crashes with JVM internal error 7157695: Add windows implementation of socket interface 7157734: hotspot test scripts not testing 64-bit JVM under JPRT/JTREG. 7158137: new hotspot build - hs24-b07 7158457: division by zero in adaptiveweightedaverage 7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support. 7158682: G1: Handle leak when running nsk.sysdict tests 7158800: Improve storage of symbol tables 7158988: jvm crashes while debugging on x86_32 and x86_64 7159772: instanceKlass::all_fields_count() returns incorrect total field count 7159842: new hotspot build - hs24-b08 7160161: Missed safepoint in non-Counted loop 7160467: Fix test for 7158988 7160539: JDeveloper crashes on 64-bit Windows 7160570: Intrinsification support for tracing framework 7160610: Unknown Native Code compilation issue 7160613: VerifyRememberedSets doesn't work with CompressedOops 7160677: missing else in fix for 7152811 7160728: Introduce an extra logging level for G1 logging 7160757: Problem with hotspot/runtime_classfile 7160924: jvmti: GetPhase returns incorrect phase before VMInit event is issued 7161545: G1: Minor cleanups to the G1 logging 7161732: Improve handling of thread_id in OSThread 7161796: PhaseStringOpts::fetch_static_field tries to fetch field from the Klass instead of the mirror 7162063: libsaproc debug print should format size_t correctly on 64bit platform 7162094: LateInlineCallGenerator::do_late_inline crashed on uninitialized _call_node 7162488: VM not printing unknown -XX options 7162726: Wrong filter predicate of visible locals in SA JSJavaFrame 7162955: Attach api on Solaris, too many open files 7163117: Agent can't connect to process on Mac OSX 7163193: new hotspot build - hs24-b09 7163848: G1: Log GC Cause for a GC 7164144: Fix variable naming style in freeBlockDictionary.* and binaryTreeDictionary* 7164344: enabling ZIP_DEBUGINFO_FILES causes unexpected test failures on Solaris and Windows 7165755: OS Information much longer on linux than other platforms 7166498: JVM crash in ClassVerifier 7166615: new hotspot build - hs24-b10 7166894: Add gc cause to GC logging for all collectors 7167069: 6 VM flags crash the VM when queried via jinfo 7167142: Consider a warning when finding a .hotspotrc or .hotspot_compiler file that isn't used 7167254: Crash on OSX in Enumerator.nextElement() with compressed oops 7167266: missing copyright notes in 3rd party code 7167406: (Zero) Fix for InvokeDynamic needed 7167437: Can't build on linux without precompiled headers 7167625: Adjustments for SE-Embedded build process 7168247: new hotspot build - hs24-b11 7168280: Eliminate the generic signature index slot from field array for field without generic signature. 7168294: G1: Some Full GCs incorrectly report GC cause as "No GC" 7168848: Add test to check that humongous object allocation path also checks the heap occupancy. 7169056: Add gigabyte unit to proper_unit_for_byte_size() and byte_size_in_proper_unit() 7169062: CMS: Assertion failed with -XX:+ObjectAlignmentInBytes=64 7169102: 7165060 merge lost changes to make/windows/makefiles/defs.make 7169409: enabling ZIP_DEBUGINFO_FILES causes unexpected test failures on Windows X86 7169782: C2: SIGSEGV in LShiftLNode::Ideal(PhaseGVN*, bool) 7169934: pow(x,y) or x64 computes incorrect result when x<0 and y is an odd integer 7170006: new hotspot build - hs24-b12 7170010: conditional "ZIP_DEBUGINFO_FILES ?= 0" setting is not reliable on Windows 7170053: crash in C2 when using -XX:+CountCompiledCalls 7170145: C1 doesn't respect the JMM with volatile field loads 7170197: Update JPRT default build targets to support embedded builds 7170275: os::print_os_info needs to know about Windows 8 7170463: C2 should recognize "obj.getClass() == A.class" code pattern 7171422: Change 7161732 breaks SA on Windows 7171703: JNI DefineClass crashes client VM when first parameter is NULL 7171824: assert(_offset >= 1) failed: illegal call to offset() 7171853: new hotspot build - hs24-b13 7171890: C1: add Class.isInstance intrinsic 7171936: LOG_G incorrectly defined in globalDefinitions.hpp 7172226: HotSpot fails to build with GCC 4.7 because of stricter c++ argument dependent lookup 7172279: G1: Clean up TraceGen0Time and TraceGen1Time data gathering 7172388: G1: _total_full_collections should not be incremented for concurrent cycles 7172708: 32/64 bit type issues on Windows after Mac OS X port 7172843: C1: fix "assert(has_printable_bci()) failed: _printable_bci should have been set" 7172967: Eliminate constMethod's _method backpointer to methodOop. 7173340: C2: code cleanup: use PhaseIterGVN::replace_edge(Node*, int, Node*) where applicable 7173438: new hotspot build - hs24-b14 7173460: G1: java/lang/management/MemoryMXBean/CollectionUsageThreshold.java failes with G1 7173635: jprt.properties should include release jdk7u6 7173712: G1: Duplicated code in G1UpdateRSOrPushRefOopClosure::do_oop_nv() 7174218: remove AtomicLongCSImpl intrinsics 7174363: Arrays.copyOfRange leads to VM crash with -Xcomp -server if executed by testing framework 7174510: 19 JCK compiler tests fail with C2 error: memNode.cpp:812 - ShouldNotReachHere 7174532: jdk/test/java/lang/Math/WorstCaseTests.java failing on x86 7174884: C1: failures after 7171890: assert(cur_state != NULL) failed: state_before must be set 7174928: JSR 292: unresolved invokedynamic call sites deopt and osr infinitely 7175133: jinfo failed to get system properties after 6924259 7175515: new hotspot build - hs24-b15 7175914: Usage of gcc with precompiled headers produces wrong build dependencies 7176856: add the JRE name to the error log 7177128: SA cannot get correct system properties after 7126277 7177307: fix fo CR7158800 doesn't contain Test7158800.sh 7177409: Perf regression in JVM_GetClassDeclaredFields after generic signature changes. 7177917: Failed test java/lang/Math/PowTests.java 7177923: SIGBUS on sparc in compiled code for java.util.Calendar.clear() 7178113: build environment change 7178145: Change constMethodOop::_exception_table to optionally inlined u2 table. 7178280: Failed new vector regression tests 7178361: G1: Make sure that PrintGC and PrintGCDetails use the same timing for the GC pause 7178363: G1: Remove the serial code for PrintGCDetails and make it a special case of the parallel code 7178667: ALT_EXPORT_PATH does not export server jvm on macosx 7178670: runtime/7158800/BadUtf8.java fails in SymbolTable::rehash_table 7178703: Fix handling of quoted arguments and better error messages in dcmd 7178846: IterateThroughHeap: heap_iteration_callback passes a negative size 7179138: Incorrect result with String concatenation optimization 7179383: MaxDirectMemorySize argument parsing is broken for values >2G 7179759: ENV: Nightly fails during jdk copiyng for solaris platforms after FDS unzipping 7180769: assert(tboth->klass_is_exact()) failed: klass should be exact 7180882: new hotspot build - hs24-b16 7180914: Compilation warning after: 7172967: Eliminate the constMethod's _method backpointer to the methodOop. 7181175: Enable builds on Windows with MinGW/MSYS 7181200: JVM new hashing code breaks SA in product mode 7181494: cleanup avx and vectors code 7181632: nsk classLoad001_14 failure and CompileTheWorld crash after 7178145. 7181658: CTW: assert(t->meet(t0) == t) failed: Not monotonic 7181986: NMT ON: Assertion failure when running jdi ExpiredRequestDeletionTest 7181989: NMT ON: Assertion failure when NMT checks thread's native stack base address 7182260: G1: Fine grain RSet freeing bottleneck 7182543: NMT ON: Aggregate a few NMT related bugs 7183754: Test runtime/6294277/Test6294277.sh runs wrong JVM 7184050: new hotspot build - hs24-b17 7184772: G1: Incorrect assert in HeapRegionLinkedList::add_as_head() 7185550: TEST: runtime/7020373/Test7020373.sh fails because there is no test/runtime/7020373/testcase.jar 7185614: NMT ON: "check by caller" assertion failed on nsk ThreadMXBean test 7185699: G1: Prediction model discrepancies 7185775: new hotspot build - hs24-b18 7186278: Build error after CR#6995781 / 7151532 with GCC 4.7.0 7186778: MachO decoder implementation for MacOSX 7187046: Crash in ClassFileParser on solaris-ia32 during RetransformClasses. 7187290: nightly failures after JSR 292 lazy method handle update 7187429: NMT ON: Merge failure should cause NMT to shutdown 7187454: stack overflow in C2 compiler thread on Solaris x86 7187463: new hotspot build - hs24-b19 7188168: 7071904 broke the DEBUG_BINARIES option on Linux 7188227: VM should recognize M-series SPARC 7188276: JSR 292: assert(ct == T_OBJECT) failed: rt=T_OBJECT, ct=13 7188911: nightly failures after JSR 292 lazy method handle update (round 2) 7189086: new hotspot build - hs24-b20 7189729: jprt.properties should include release jdk7u8 7190310: Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops 7190512: Fix for 7181175 broke hotspot/make/windows/create.bat builds 7190772: new hotspot build - hs24-b21 7191124: Optimized build is broken due to inconsistent use of DEBUG_ONLY and NOT_PRODUCT macros in NMT 7191765: make jdk8 the default jprt release for hs24 7191926: Remove MKS dependency in Hotspot regression tests 7192128: G1: Extend fix for 6948537 to G1's BOT 7192167: JSR 292: C1 has old broken code which needs to be removed 7192406: JSR 292: C2 needs exact return type information for invokedynamic and invokehandle call sites 7192916: Hotspot development launcher should use DYLD_LIBRARY_PATH on OS X 7192963: assert(_in[req-1] == this) failed: Must pass arg count to 'new' 7192964: assert(false) failed: bad AD file 7192965: assert(is_aligned_sets(size)) failed: mask is not aligned, adjacent sets 7193157: G1: Make some develpflags available in product builds 7194004: new hotspot build - hs24-b22 7194409: os::javaTimeNanos() shows hot on CPU_CLK_UNHALTED profiles 7197906: BlockOffsetArray::power_to_cards_back() needs to handle > 32 bit shifts 8000459: assert(java_lang_String::is_instance(entry)) failure with various mlvm tests. 8001174: new hotspot build - hs24-b23 8001192: allow duplicate bug ids in hs24 Bugs going the JDK repo at jdk7u/jdk7u/jdk 6984705: JSR 292 method handle creation should not go through JNI 7023639: JSR 292 method handle invocation needs a fast path for compiled code 7058630: JSR 292 method handle proxy violates contract for Object methods 7058651: JSR 292 unit tests need a refresh 7087658: MethodHandles.Lookup.findVirtual is confused by interface methods that are multiply inherited 7089131: test/java/lang/invoke/InvokeGenericTest.java does not compile 7117167: Misc warnings in java.lang.invoke and sun.invoke.* 7127687: MethodType leaks memory due to interning 7128512: Javadoc typo in java.lang.invoke.MethodHandle 7129034: VM crash with a field setter method with a filterArguments 7188911: nightly failures after JSR 292 lazy method handle update (round 2) 7190416: JSR 292: typo in InvokerBytecodeGenerator.getConstantPoolSize 7191102: nightly failures after JSR 292 lazy method handle update (round 3) 7194612: api/java_lang/invoke/MethodHandles/Lookup/index.html#ExceptionsTests[findVirtualNSME] fails w/ -esa 7194662: JSR 292: PermuteArgsTest times out in nightly test runs 8000989: smaller code changes to make future JSR 292 backports easier -- Alejandro E Murillo, Java Performance Phone: (303) 955-2584. Timezone: US/Mountain (UTC-0700)