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
Zhengyu Gu
ebdf7e0fa8
Merge
2014-01-28 06:26:36 -08:00
Zhengyu Gu
673e8b47c0
8032827: NMT: missing virtual memory tagging in os::workaround_expand_exec_shield_cs_limit()
...
Fixed missing virtual memory type tagging in os::workaround_expand_exec_shield_cs_limit() function
Reviewed-by: hseigel, coleenp
2014-01-28 08:55:00 -05: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
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
Alejandro Murillo
4c4881a31f
Merge
2014-01-23 10:35:38 -08: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
6f46c5c2f0
8031968: Mac OS X: VM starts the agent by calling both Agent_OnAttach and Agent_OnAttach_L functions if its agent library is dynamically linked
...
Make sure we only look for statically linked agents in the main process image
Reviewed-by: dsamersoff, bpittore, dcubed
2014-01-23 09:06:21 +01: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
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
Igor Veresov
0c43978be6
8031743: C2: loadI2L_immI broken for negative memory values
...
Restrict loadI2L_imm optimizations to positive values of mask
Reviewed-by: kvn, dlong
2014-01-21 20:05:28 -08:00
Harold Seigel
9aea544943
Merge
2014-01-19 20:23:46 -05:00
Igor Veresov
2275de8d6b
8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size
...
Fix the sizing of loadUS2L_immI16 and loadI2L_immI
Reviewed-by: kvn, azeemj
2014-01-17 18:09:08 -08: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
Christian Thalinger
d80bfaeb14
8022395: java.util.zip.ZipException: Not in GZIP format in JT_JDK/test/java/util/zip/GZIP tests
...
Reviewed-by: kvn, iveresov
2014-01-16 16:18:34 -08: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
Jon Masamitsu
9d4f3dfd4f
8031290: Adjust call to getisax() for additional words returned
...
Reviewed-by: kvn, iveresov, twisti
2014-01-15 07:20:04 -08: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
Roland Westrelin
bff5f5c875
8030662: "assert(counter_changed) failed: failed dependencies, but counter didn't change" still fails
...
Erroneously removed call to SystemDictionary::notice_modification() from jvmti with fix for 8029383
Reviewed-by: iveresov, twisti, kvn
2014-01-14 12:44:12 +01:00
Mikael Gerdin
927369db43
8028764: dtrace/hotspot_jni/ALL/ALL001 crashes the vm on Solaris-amd64, SIGSEGV in MarkSweep::follow_stack()+0x8a
...
C1 generates code to encode compressed oop into tmp register before runtime call for patching where GC may happen
Reviewed-by: iveresov, twisti, kvn
2014-01-14 09:44:45 +01:00
Roland Westrelin
14578d5ae9
8029464: assert(ft == ttkp->cast_to_ptr_type(jtkp->ptr()) || ft->isa_narrowoop()
...
Fix the assert check for narrow klass pointer.
Reviewed-by: twisti, kvn
2014-01-13 16:16:25 -08:00
Fredrik Arvidsson
6c1b243c0e
8031304: Add dcmd to print all loaded dynamic libraries
...
Adding VM.dynlibs as a dcmd to dump all loaded dynamic libraries.
Reviewed-by: sla, fparain, mgronlun, dsamersoff
2014-01-14 15:27:01 +01:00
Harold Seigel
f84476eec5
Merge
2014-01-13 18:30:57 -05:00