Ioi Lam
7f138c5502
7182040: volano29 limited by os resource on Linux - need better diagnostic message
...
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"
Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Christian Tornqvist
dd25d6fed0
8016644: Improve UnsupportedClassVersionError message
...
Improved the UnsupportedClassVersionError message to hopefully be more user friendly
Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Coleen Phillimore
2759eb10ae
8033528: assert(0 <= i && i < length()) failed: index out of bounds
...
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.
Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Oleg Mazurov
50b13833fa
8025841: JVMTI: "vtable stub" dynamic code notification is misplaced
...
Generate correct "vtable stub" dynamic code notifications
Reviewed-by: sspitsyn, kvn, coleenp
2014-02-06 20:13:38 -08:00
Frederic Parain
41edfa7107
8030808: dtrace/hotspot/Monitors/Monitors001 fails in product builds on solaris-sparc
...
Reviewed-by: sspitsyn, dcubed, kamg, dholmes
2014-02-06 17:59:35 +00:00
Henry Jen
aae536aad7
8033289: clang: clean up unused function warning
...
Reviewed-by: coleenp, dholmes, mgerdin
2014-02-05 21:24:29 -08:00
Calvin Cheung
a3c78aac2f
8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
...
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution
Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Serguei Spitsyn
465cfd7c01
8032223: nsk/regression/b4663146 gets assert(SafepointSynchronize::is_at_safepoint() || JvmtiEnv::is_thread_fully_suspended(get_thread(), false, &debug_bits))
...
It is better to calculate frame count for suspended threads at a safepoint
Reviewed-by: twisti, dsamersoff, sla, dholmes, dcubed
2014-02-04 19:41:46 -08:00
Staffan Larsen
731320a7fd
8033126: Can't call default methods from JNI
...
Reviewed-by: dholmes, acorn, kamg
2014-02-03 15:24:20 +01:00
Staffan Larsen
eaac73cf84
8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
...
Reviewed-by: coleenp, sspitsyn, kamg
2014-02-03 13:41:26 +01:00
Harold Seigel
f8cf8b295d
Merge
2014-02-02 15:31:40 -05:00
Ron Durbin
97d55c801e
8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher
...
Decoupled the '-XXaltjvm=<path>' option from the gamma launcher. Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher.
Reviewed-by: dcubed, dholmes
2014-01-30 14:12:22 -08:00
Erik Helin
4b802a6d31
Merge
2014-01-30 14:01:45 +01:00
Harold Seigel
b7100718e8
Merge
2014-01-29 19:54:44 -05:00
Jesper Wilhelmsson
5301534dc3
8028391: Make the Min/MaxHeapFreeRatio flags manageable
...
Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC.
Reviewed-by: sla, mgerdin, brutisso
2014-01-29 23:17:05 +01:00
Coleen Phillimore
305d2f27f1
8028275: Metaspace ShrinkGrowTest causes fatal error if run with JFR
...
Clean up initialization from Threads::create_vm() so that exceptions cause vm_exit_during_initialzation without an exception mark.
Reviewed-by: dholmes, hseigel
2014-01-27 23:12:13 -05:00
Vladimir Kozlov
6e8540ca72
Merge
2014-01-24 09:04:24 -08:00
Alejandro Murillo
4c4881a31f
Merge
2014-01-23 10:35:38 -08:00
Vladimir Ivanov
91573b8695
8031695: CHA ignores default methods during analysis leading to incorrect code generation
...
Reviewed-by: jrose, acorn, hseigel, lfoltan
2014-01-23 01:23:23 +04:00
Harold Seigel
30bac4bcc7
Merge
2014-01-24 08:31:06 -05:00
Harold Seigel
39f19c2f76
8028553: The JVM should not throw VerifyError when 'overriding' a static final method in a superclass
...
Check if method is static before throwing exception.
Reviewed-by: kamg, coleenp, lfoltan, fparain
2014-01-24 08:13:42 -05:00
David Simms
edb5dd324e
8028280: ParkEvent leak when running modified runThese which only loads classes
...
Use spin lock to manage ParkEvent and PlatformEvent free lists.
Reviewed-by: dholmes, fparain
2014-01-24 09:28:47 +01:00
Gilles Duboscq
90a44b778d
8031427: AllocObject and Unsafe.allocateInstance segfault for primitive types
...
The fix just throws an InstantiationException if the Klass is NULL.
Reviewed-by: coleenp, twisti, jrose
2014-01-23 16:02:14 -05:00
Yumin Qi
38fe1c531a
Merge
2014-01-23 09:45:38 -08:00
Yumin Qi
4a3aa3a77a
6651256: jstack: DeleteGlobalRef method call doesn't lead to descreasing of global refs count shown by jstack
...
Jni_DeleteGlobalRef does not really release the jni handle, instead, set the handle point to JNIHandles::_deleted_handle which holds an oop instance (java/lang/Object) in Java heap and never be GC'ed. When counting number of global reference, it counts all the handles on the chain list, which includes the already deleted ones.
Reviewed-by: zgu, sla, coleenp
2014-01-23 09:40:32 -08:00
Staffan Larsen
869722e816
8032250: Add trace event for VM flag changes
...
Reviewed-by: coleenp, ehelin, egahlin, mgronlun
2014-01-23 08:12:12 +01:00
Harold Seigel
9aea544943
Merge
2014-01-19 20:23:46 -05:00
Morris Meyer
92d751996e
Merge
2014-01-17 10:43:43 -08:00
Harold Seigel
b1317dd946
Merge
2014-01-17 09:47:17 -05:00
Harold Seigel
fe0b2eae89
8031045: Access checks should precede additional per-instruction checks
...
Move access check above the check for non-static method
Reviewed-by: lfoltan, coleenp
2014-01-17 09:39:51 -05:00
Erik Helin
b70f686814
Merge
2014-01-17 09:40:04 +01:00
Staffan Larsen
b35fb5f8c0
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
...
Reviewed-by: coleenp, sspitsyn, dsamersoff
2014-01-16 20:14:21 +01:00
Serguei Spitsyn
0aac4235b3
8030027: nsk/jvmti/scenarios/hotswap/HS101/hs101t006 Crashed the vm on Linux-amd64: SIGSEGV in JavaThread::last_java_vframe(RegisterMap*)+0xfa
...
Add a safe guard to VMOp_GetCurrentLocation against non-walkable stack of target thread exiting from Java execution
Reviewed-by: mgronlun, dholmes, sla, dcubed
2014-01-17 02:13:40 -08:00
Calvin Cheung
7f34fe7eee
8027314: Java should recognize Diagnostic options if -XX:+UnlockDiagnosticVMOptions is not specified and print an informative message
...
Clarifying the error messages associated with vm options of type diagnostic, experimental, develop, and notproduct
Reviewed-by: kvn, twisti, ctornqvi
2014-01-16 10:51:16 -08:00
Erik Helin
3cd01085cd
8031779: Assert in MetaspaceGC is always true
...
Reviewed-by: jmasa, jwilhelm
2014-01-16 17:22:35 +01:00
Stefan Johansson
a23ee6de8d
8031686: G1: assert(_hrs.max_length() == _expansion_regions) failed
...
Using pointer_delta to avoid overflowing pointer calculation.
Reviewed-by: jmasa, tschatzl
2014-01-20 10:55:54 +01:00
Bengt Rutisson
9b29efeb63
8030177: G1: Enable TLAB resizing
...
Reviewed-by: tschatzl, stefank, jmasa
2014-01-27 13:14:53 +01:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Albert Noll
1689dc7b05
Merge
2014-01-14 21:33:33 -08:00
Albert Noll
2f84f7d5fc
7194669: CodeCache::mark_for_deoptimization should avoid verifying dependencies multiple times
...
Avoid verifying dependencies multiple times by caching verified dependencies
Reviewed-by: kvn, twisti, roland
2014-01-15 06:16:55 +01:00
Shrinivas Joshi
d4c9d3889b
8002074: Support for AES on SPARC
...
Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.
Reviewed-by: kvn, roland
2014-01-14 17:46:48 -08:00
Harold Seigel
44a8bf65f3
8031059: invokestatic: ICCE trying to invoke static method when it clashes with an abstract method inherited from an interface
...
Do not create AME overpass if there is a matching static method
Reviewed-by: lfoltan, coleenp, kamg
2014-01-14 16:27:35 -05:00
Mikael Gerdin
4c7c3f0613
8032379: Remove the is_scavenging flag to process_strong_roots
...
Refactor the strong root processing to avoid using a boolean in addition to the ScanOption enum.
Reviewed-by: stefank, tschatzl, ehelin, jmasa
2014-01-14 16:40:33 +01:00
Stefan Johansson
8ce7c46ec7
8020277: Young GC could be extremely slow due to assertion in ObjectStartArray::object_starts_in_range
...
8009462: Young GC's (ParNewGC and SerialGC) have unexpected variances
Removed the assertion slowing down GC.
Reviewed-by: stefank, mgerdin
2014-01-20 12:56:18 +01:00
Erik Helin
ba54cfdf88
8031776: Remove the unnecessary enum GenRemSet::Name
...
Reviewed-by: stefank, tschatzl, jwilhelm
2014-01-20 17:15:55 +01:00
Thomas Schatzl
70fd1802a0
8027746: Remove do_gen_barrier template parameter in G1ParCopyClosure
...
Remove the above mentioned template parameter and related unused code. Also remove some classes that are never used.
Reviewed-by: stefank, mgerdin, jwilhelm
2014-01-20 11:47:53 +01:00
Thomas Schatzl
aeba3a8119
8027454: Do not traverse string table during G1 remark when treating them as strong roots during initial mark
...
Do not try to unlink string table entries unconditionally during remark. This is without side effects as the preceding initial mark always uses the string table as strong roots. Needs to be fixed with class unloading during concurrent mark.
Reviewed-by: brutisso, mgerdin
2014-01-20 11:47:29 +01:00
Thomas Schatzl
4bb3631855
8027476: Improve performance of Stringtable unlink
...
8027455: Improve symbol table scan times during gc pauses
Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set.
Reviewed-by: mgerdin, coleenp, brutisso
2014-01-20 11:47:07 +01:00
Roland Westrelin
b1c92a140b
8026253: New type profiling points: sparc support
...
C1 and interpreter support for new type profiling on sparc
Reviewed-by: kvn, twisti
2014-01-14 14:51:47 +01:00
Erik Helin
e962dec4b7
Merge
2014-01-14 14:26:43 +01:00