Commit Graph

22311 Commits

Author SHA1 Message Date
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
Dmitry Samersoff
8c626c6501 Merge 2014-01-28 11:42:30 +00:00
Dmitry Samersoff
e6d68e6d66 7010732: SA_ALTROOT only works if running the SA tools from their build directory
Fixed SA packaging scripts

Reviewed-by: sla, kevinw
2014-01-28 14:45:39 +04: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
Stefan Sarne
4a7bc8eccd 8032662: test/compiler/ciReplay/TestSA.sh should report ulimit issues
Reviewed-by: kvn, iignatyev
2014-01-27 10:57:52 +01:00
Dmitry Samersoff
ebf3cad435 8032247: SA: Constantpool lookup for invokedynamic is not implemented
Implement constant pool lookup for invokedynamic

Reviewed-by: sla, sspitsyn
2014-01-27 13:46:54 +04: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
Kevin Walls
076122acf6 8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
Reviewed-by: dsamersoff, sla
2014-01-23 09:33:50 +00: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
Henry Jen
5050fd5363 8028407: adjust-mflags.sh failed build with GNU Make 4.0 with -I<path contains j>
Reviewed-by: erikj
2014-01-21 20:07:14 -08: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
Gerard Ziemski
7591b3dd89 7015395: [TESTBUG] runtime/6626217/Test6626217.sh fails if compilation happens fast enough for timestamps to be equal
Insert 2 second sleep between copying of the src files and the compilation, to make sure the timestamps of *.class files are in the future of *.java files.

Reviewed-by: coleenp, fparain
2014-01-21 16:45:10 -06:00
Kevin Walls
dd35520229 Merge 2014-01-20 09:56:47 +00: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
Kevin Walls
ded754b7b2 8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters
Reviewed-by: sla, dsamersoff
2014-01-17 18:39:22 +00:00
Coleen Phillimore
d6a0a9d513 8032024: Test not added for bug 8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field,change
Test didn't get hg added with original bug fix

Reviewed-by: jrose, hseigel, lfoltan
2014-01-17 11:21:29 -05: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
Mikhailo Seledtsov
735887477f 8031151: Add basic CDS tests
Added new tests to cover missing CDS basic funtions

Reviewed-by: zgu, hseigel
2014-01-15 19:12:45 -05: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
David Simms
3529de993d 6945460: [TESTBUG] runtime/6929067/Test6929067.sh
Change link order for the test

Reviewed-by: coleenp, mgerdin
2014-01-15 11:46:19 +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
Dmitry Samersoff
3154f17907 Merge 2014-01-14 22:13:21 +00:00
Dmitry Samersoff
5289bda8e5 8030941: Darwin mapfile-vers doesnt work for other BSDs
Changed makefile to use generic mapfile for non Darwin BSDs

Reviewed-by: dholmes, sla
2014-01-15 02:02:47 +04:00