David Katleman
7011d09724
Added tag jdk9-b05 for changeset 911cca83c115
2014-03-20 13:44:05 -07:00
Goetz Lindenmaier
e3ebae0947
8037962: metaspaceTracer.cpp misses a symbol
...
Reviewed-by: tschatzl, mgerdin
2014-03-20 15:53:17 +01:00
Markus Grönlund
15e6b91ca5
8037340: Linux semaphores to use CLOCK_REALTIME
...
Reviewed-by: dholmes, sla
2014-03-20 14:28:25 +01:00
Goetz Lindenmaier
fc7f4197f1
8037915: PPC64/AIX: Several smaller fixes
...
Reviewed-by: kvn
2014-03-20 11:03:06 +01:00
Vladimir Kozlov
97a51c5c2a
8031320: Use Intel RTM instructions for locks
...
Use RTM for inflated locks and stack locks.
Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07:00
Christian Thalinger
315e4838e9
8031203: remove SafepointPollOffset
...
Reviewed-by: kvn, roland
2014-03-19 11:37:58 -07:00
Daniel D. Daugherty
9778e277b7
Merge
2014-03-19 07:08:11 -07:00
Lana Steuck
3027e50aff
Merge
2014-03-18 17:49:11 -07:00
Alejandro Murillo
06461f9c1b
8033926: Update hotspot/make/jprt.properties to use jdk 9 instead of jdk 8
...
Reviewed-by: sla, dholmes
2014-03-18 14:07:38 -07:00
Per Lidén
4a4c0fce93
8029075: String deduplication in G1
...
Implementation of JEP 192, http://openjdk.java.net/jeps/192
Reviewed-by: brutisso, tschatzl, coleenp
2014-03-18 19:07:22 +01:00
Coleen Phillimore
4880019b3e
8036630: Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
...
Call ProtectionDomain constructor instead of making all fields null.
Reviewed-by: fparain, zgu
2014-03-18 13:45:27 -04:00
Nils Eliasson
5827f6e16c
Merge
2014-03-18 14:22:42 +01:00
Serguei Spitsyn
6c36e9d3fd
6976636: JVM/TI test ex03t001 fails assertion
...
Relax assert in the post_class_unload for the CMS case
Reviewed-by: dcubed, dsamersoff
2014-03-17 19:29:29 -07:00
Zhengyu Gu
da4aab3c1d
8025550: valgrind: Conditional jump depends on uninitialised value in Arena::set_size_in_bytes()
...
Fixed initialized variable that could miscount arena memory
Reviewed-by: coleenp, ccheung
2014-03-17 13:39:17 -04:00
Bharadwaj Yadavalli
52f97b0ee1
8036576: jtreg failed on Test6792161 timed out
...
Increase time out value of test since debug VM executes additional code
Reviewed-by: kvn
2014-03-17 11:33:21 -04:00
Dmitry Samersoff
903d462556
Merge
2014-03-15 04:03:42 -07:00
Vladimir Kozlov
d3f1dc78ef
8037226: compiler/7196199/Test7196199.java fails on 32-bit linux with MaxVectorSize > 16
...
Verify YMM registers after signal processing and set limit on vector's size.
Reviewed-by: iveresov, twisti
2014-03-14 17:28:58 -07:00
Yumin Qi
f2fbd2207d
6536943: Bogus -Xcheck:jni warning for SIG_INT action for SIGINT in JVM started from non-interactive shell
...
Under non-interactive shell, with -Xcheck:jni, check_signal_handler will print out Warning for SHURDOWN2_SIGNAL (SIGINT) which is replaced by non-interactive shell. Fix by supply more information of the replacement to user.
Reviewed-by: acorn, dsamersoff
2014-03-14 14:17:11 -07:00
Alejandro Murillo
1597e5f92a
Merge
2014-03-14 10:31:11 -07:00
Erik Helin
e88724d567
Merge
2014-03-14 13:27:18 +01:00
Frederic Parain
2655375438
8036128: Remove deprecated VM flag UseVMInterruptibleIO
...
Reviewed-by: acorn, dholmes, dcubed, coleenp
2014-03-14 12:02:54 +00:00
Nils Eliasson
8c46e61622
Merge
2014-03-14 09:26:27 +01:00
Erik Helin
358b5bbebc
Merge
2014-03-14 09:18:39 +01:00
Igor Veresov
a415d90691
8037140: C1: Incorrect argument type used for SharedRuntime::OSR_migration_end in LIRGenerator::do_Goto
...
Fix the type of osrBuffer parameter to depend on bitness
Reviewed-by: kvn, twisti
2014-03-13 14:55:34 -07:00
Igor Veresov
af7a190f21
8037149: C1: getThreadTemp should return a T_LONG register on 64bit
...
Fix the type of the register returned by getThreadTemp() to depend on bitness
Reviewed-by: kvn, twisti
2014-03-13 14:55:10 -07:00
Erik Helin
1d21f8975b
Merge
2014-03-12 13:02:47 +01:00
Alejandro Murillo
d7f9269527
Merge
2014-03-11 16:49:35 -07:00
David Katleman
6d3d6f7456
Added tag jdk9-b04 for changeset 7a33ca900ff0
2014-03-11 15:41:45 -07:00
Axel Siebenborn
6035ac234b
8036666: VMTI GetObjectMonitorUsage does not return correct recursion count
...
Fix object lock recursion count and add test
Reviewed-by: sspitsyn, dsamersoff
2014-03-11 15:22:44 +01:00
Yasumasa Suenaga
57d7e49ab1
7090324: gclog rotation via external tool
...
GC log rotation can be set via java command line, but customer sometime need to sync with OS level rotation setting.
Reviewed-by: sla, minqi, ehelin
2014-03-28 21:04:37 -07:00
Christian Tornqvist
0b0fdb97ce
8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
...
Wrapped the test in another layer process creation to avoid NMT being turned on.
Reviewed-by: coleenp, dcubed
2014-03-27 22:36:08 +01:00
Coleen Phillimore
472622d900
8031820: NPG: Fix remaining references to metadata as oops in comments
...
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool
Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.
Reviewed-by: stefank, jmasa
2014-03-26 21:47:45 -04:00
Mikhailo Seledtsov
3c58faecfe
8032222: [TESTBUG] runtime/SharedArchiveFile/CdsWriteError.java fails on Mac OS with java.lang.RuntimeException
...
Excluded the test from running on Mac OS
Reviewed-by: coleenp, ctornqvi
2014-03-25 09:26:18 -04:00
Erik Helin
80025a5e2b
Merge
2014-03-11 15:14:46 +01:00
Mikhailo Seledtsov
ce25911489
8026154: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java failed due to exception
...
Added statements in the tests to handle failures in sharing
Reviewed-by: zgu, ctornqvi
2014-03-10 14:50:20 -04:00
Axel Siebenborn
faad7883f2
8036976: PPC64: implement the template interpreter
...
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: kvn, coleenp
2014-03-10 12:58:02 +01:00
Igor Veresov
768beb9a23
8031321: Support Intel bit manipulation instructions
...
Add support for BMI1 instructions
Reviewed-by: kvn, roland
2014-03-12 11:24:26 -07:00
Christian Thalinger
1a1f9f0871
8037043: put Method flag bits in predictable positions
...
Reviewed-by: kvn, coleenp
2014-03-11 14:54:47 -07:00
David Chase
a0bb00ac27
Merge
2014-03-11 10:59:26 -07:00
David Chase
13a70d932e
8028037: [parfait] warnings from b114 for hotspot.src.share.vm
...
Insert null check for one warning; other warning handled in parfait config
Reviewed-by: kvn
2014-03-11 13:38:32 -04:00
Nils Eliasson
f457cabe80
Merge
2014-03-11 11:26:14 -04:00
Igor Veresov
35f1475d20
8025644: java/util/stream/test/org/openjdk/tests/java/util/stream/ToArrayOpTest.java fails with TestData$OfRef): failure java.lang.AssertionError: expected [true] but found [false]
...
In GraphKit::gen_checkcast() provide only exact superklass to GraphKit::maybe_cast_profiled_receiver()
Reviewed-by: kvn, roland
2014-03-10 11:09:02 -07:00
Albert Noll
e8bc971d19
8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
...
Double CodeCacheSegmentSize from 64 byte to 128 bytes if tiered compilation is enabled
Reviewed-by: kvn, twisti
2014-03-07 07:42:40 +01:00
Lana Steuck
5ea1b4439f
Merge
2014-03-06 10:37:26 -08:00
Volker Simonis
87b278c44c
8036777: AIX: Adapt implementation after '6546236: Thread interrupt() of Thread.sleep() can be lost on Solaris.'
...
Reviewed-by: kvn
2014-03-06 14:35:26 +01:00
Vladimir Kozlov
ee8db43354
Merge
2014-03-06 11:12:45 -08:00
Alexander Smundak
f90699ff16
8035647: PPC64: Support for elf v2 abi
...
ELFv2 ABI used by the little endian PowerPC64 on Linux.
Reviewed-by: kvn
2014-03-06 10:55:28 -08:00
Vladimir Ivanov
bd8255eaa4
8036667: "assert(adr->is_AddP() && adr->in(AddPNode::Offset)->is_Con()) failed: offset is a constant" with FoldStableValues on
...
Reviewed-by: kvn
2014-03-06 09:53:14 -08:00
Roland Westrelin
e021d60c5a
Merge
2014-03-06 02:37:44 -08:00
Roland Westrelin
d5ff84f8b3
8032633: Enable type speculation by default
...
Enable type speculation
Reviewed-by: kvn
2014-03-06 11:11:04 +01:00
Igor Ignatyev
8439d7fa51
8027124: [TESTBUG] NonTieredLevelsTest: java.lang.RuntimeException: private TestCase$Helper(java.lang.Object) must be osr_compiled
...
Reviewed-by: kvn, roland
2014-03-06 12:47:45 +04:00
Igor Ignatyev
4f2175f088
8027257: [TESTBUG] compiler/ciReplay/TestVM.sh : Error: Could not find or load main class negative_test
...
Reviewed-by: roland, kvn
2014-03-06 12:46:04 +04:00
Igor Ignatyev
54177912e8
8028482: [TESTBUG] tests that use JMX should be in need_compact3 test group
...
Reviewed-by: roland, sla, dholmes
2014-03-06 12:45:59 +04:00
Mikael Gerdin
74235d9630
8038399: Remove dead oop_iterate MemRegion variants from SharedHeap, Generation and Space classes
...
Reviewed-by: tschatzl, stefank
2014-03-06 09:08:18 +01:00
Erik Helin
102943d1f2
8033580: Old debug information in IMPORT_JDK is not removed
...
Reviewed-by: dcubed, erikj
2014-03-19 14:35:38 +01:00
Tao Mao
7a39c2c7d5
6521376: MaxTenuringThreshold and AlwayTenure/NeverTenure consistency
...
Adapt InitialTenuringThreshold and MaxTenuringThreshold according to AlwaysTenure/NeverTenure flag setting.
Reviewed-by: jmasa, tschatzl
2014-03-26 12:49:34 +01:00
Mikael Gerdin
547e8e4b75
8037958: ConcurrentMark::cleanup leaks BitMaps if VerifyDuringGC is enabled
...
Allocate temporary BitMaps in the VMThread's resource area
Reviewed-by: stefank, sjohanss
2014-03-26 10:54:52 +01:00
Erik Helin
63db52b7ed
Merge
2014-03-24 11:25:32 +01:00
Stefan Karlsson
8159b86e35
8037952: Remove code duplication in Metaspace::deallocate
...
Reviewed-by: tschatzl, pliden, coleenp
2014-03-20 15:03:18 +01:00
Vladimir Kozlov
533560cb3e
8035983: Fix "Native frames:" in crash report (hs_err file)
...
Check fr.sender_sp() in java thread instead of os::is_first_C_frame(&fr).
Reviewed-by: twisti, coleenp
2014-03-05 16:21:22 -08:00
Mikhailo Seledtsov
eedf369513
8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)
...
Added message to indicate when sharing was attempted but failed
Reviewed-by: coleenp, ctornqvi
2014-03-05 12:31:09 -05:00
Jon Masamitsu
8c7d064ee8
7098155: Resize young gen at full collections for UseParallelGC
...
Reviewed-by: tschatzl
2014-03-05 07:34:35 -08:00
Roland Westrelin
7bee30f699
8036146: make CPP interpreter build again
...
Fix build of CPP interpreter on x86 and sparc
Reviewed-by: kvn
2014-03-05 15:14:25 +01:00
Roland Westrelin
7f243a6751
Merge
2014-03-05 02:41:57 -08:00
Albert Noll
a09c80205a
Merge
2014-03-05 01:26:52 -08:00
Albert Noll
9e39a2797d
8036091: compiler/membars/DekkerTest.java fails with -XX:CICompilerCount=1
...
Start test with -XX:-TieredCompilation so that one compiler thread works
Reviewed-by: kvn, twisti
2014-03-05 10:20:30 +01:00
Roland Westrelin
38fd717c30
8035841: assert(dp_src->tag() == dp_dst->tag()) failed: should be same tags 1 != 0 at ciMethodData.cpp:90
...
Concurrent update of traps with construction of ciMethodData
Reviewed-by: kvn, twisti
2014-03-05 09:29:12 +01:00
Albert Noll
796f0c989b
Merge
2014-03-04 21:15:33 -08:00
Albert Noll
9150b93093
8036092: [TESTBUG] compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: Unrecognized VM option 'UseTypeSpeculation'
...
Add -XX:+IgnoreUnrecognizedVMOptions to @main/othervm to make the test pass on Client VM
Reviewed-by: kvn, roland
2014-03-05 06:08:19 +01:00
Mario Torre
694a2d010b
8036619: Shark: add LLVM 3.4 support
...
Reviewed-by: twisti
2014-03-04 18:52:06 -08:00
Volker Simonis
7d7f4bf62a
8036614: AIX: fix adjust-mflags.sh to build with GNU Make 4.0 (adapt 8028407 for AIX)
...
Reviewed-by: kvn
2014-03-04 17:14:00 +01:00
Vladimir Ivanov
fc6e8666a1
8036100: Default method returns true for a while, and then returns false
...
Reviewed-by: kvn, jrose
2014-03-04 02:33:10 -08:00
Vladimir Ivanov
1dbe60a475
8025842: Convert warning("Thread holding lock at safepoint that vm can block on") to fatal(...)
...
Reviewed-by: iveresov, roland, coleenp
2014-03-04 02:23:16 -08:00
Vladimir Ivanov
3ba019c8b2
8035828: Turn on @Stable support in VM
...
Reviewed-by: jrose, twisti
2014-03-04 02:20:41 -08:00
Vladimir Ivanov
132fd335eb
8035887: VM crashes trying to force inlining the recursive call
...
Reviewed-by: kvn, twisti
2014-03-04 02:19:04 -08:00
Coleen Phillimore
1a95f3a409
8035735: Metaspace::contains become extremely slow in some cases
...
Call is_metadata instead which does less work for the call in debugInfo.hpp which is called for all compiled code stack frames.
Reviewed-by: jmasa, dcubed
2014-03-03 13:58:52 -05:00
Aleksey Shipilev
1d10b6813e
8031818: Experimental VM flag for enforcing safe object construction
...
-XX:+AlwaysSafeConstructors to unconditionally emit the trailing constructor barrier.
Reviewed-by: kvn, roland
2014-03-03 15:31:27 +04:00
Aleksey Shipilev
c4bd0f58d3
8033380: Experimental VM flag to enforce access atomicity
...
-XX:+AlwaysAtomicAccesses to unconditionally enforce the access atomicity.
Reviewed-by: roland, kvn, iveresov
2014-03-03 15:54:45 +04:00
Goetz Lindenmaier
4b9933a012
8036122: Fix warning 'format not a string literal'
...
Reviewed-by: mduigou, kvn
2014-03-03 11:54:35 +01:00
Coleen Phillimore
e8d4b7aee3
8036547: test/runtime/CompressedOops/CompressedClassPointers.java fails with product build since -XX:+PrintMiscellaneous is a debug only flag
...
Use PrintCompressedOopsMode and these other flags that match printing compressed oop information
Reviewed-by: ctornqvi, sla
2014-03-04 09:57:16 -05:00
Dmitry Samersoff
4482a30c61
8036102: part of the fix for 6498581 lost in mismerge
...
Restore code lost in mis-merge
Reviewed-by: dcubed
2014-03-01 09:56:15 -08:00
Serguei Spitsyn
791b5d2b0d
6471769: Error: assert(_cur_stack_depth == count_frames(),"cur_stack_depth out of sync")
...
It is more safe to get/update data for suspended threads at a safepoint
Reviewed-by: dcubed, twisti, dholmes
2014-03-01 08:05:55 -08:00
Dmitry Samersoff
e1998b8813
Merge
2014-03-01 01:36:48 -08:00
Alejandro Murillo
ad8d066a4a
Merge
2014-02-28 09:30:20 -08:00
Morris Meyer
c696dd6700
Merge
2014-02-28 08:02:20 -08:00
Jesper Wilhelmsson
1e1ad7f132
8036025: Sort the freelist in order to shrink the heap
...
The free list is being maintained in a sorted fashion and old and humongous regions are allocated from the bottom of the heap while young regions are allocated at the top.
Co-authored-by: Staffan Friberg <staffan.friberg@oracle.com>
Reviewed-by: tschatzl, mgerdin
2014-02-28 15:27:09 +01:00
Erik Helin
853fffb2cb
8036703: Add trace event with statistics for the metaspace chunk free lists
...
Reviewed-by: stefank, mgerdin, coleenp, egahlin
2014-03-18 09:03:28 +01:00
Erik Helin
0a79ba6680
8036701: Add trace event when a metaspace throws out of memory error
...
Reviewed-by: stefank, mgerdin
2014-03-18 08:00:21 +01:00
Erik Helin
b533eca89d
8036699: Add trace event when a metaspace allocation fails
...
Reviewed-by: jmasa, stefank
2014-03-18 07:00:06 +01:00
Bengt Rutisson
ddce6492be
8037495: Remove platform specific specification of SurvivorRatio for BSD
...
Reviewed-by: mgerdin, stefank
2014-03-18 06:15:45 +01:00
Andrey Zakharov
29387ae1a7
8037510: CMM Testing: Check Min/MaxHeapFreeRatio flags allows to shrink the heap when using ParallelGC
...
Added tests for Min/MaxHeapFreeRatio flags
Reviewed-by: jwilhelm, tschatzl
2014-03-17 16:29:13 +01:00
Erik Helin
51584519f4
8036698: Add trace event for updates to metaspace gc threshold
...
Reviewed-by: stefank, mgerdin
2014-03-17 20:59:19 +01:00
Erik Helin
1fb0683664
8036696: Add metaspace gc threshold to metaspace summary trace event
...
Reviewed-by: jmasa, stefank, mgerdin
2014-03-17 17:31:46 +01:00
Per Lidén
731ef44b87
8036673: G1: Abort weak reference processing if mark stack overflows
...
Reviewed-by: brutisso, tschatzl
2014-03-17 15:18:45 +01:00
Per Lidén
d75f47a49d
8036672: G1: alloc_purpose in copy_to_survivor_space() used incorrectly
...
Reviewed-by: brutisso, tschatzl
2014-03-17 15:18:38 +01:00
Erik Helin
616b86635d
Merge
2014-03-17 15:12:33 +01:00
Erik Helin
c45adf1dca
Merge
2014-03-17 14:54:12 +01:00
Bengt Rutisson
13792b1aa7
8037407: G1: Remove heapRegionSets.cpp
...
Reviewed-by: tschatzl, pliden
2014-03-17 13:42:16 +01:00
Thomas Schatzl
a07b2194f7
8036860: Pad and cache-align the BiasedMappedArray
...
Pad and cache-align BiasedMappedArray instances by default to avoid performance variability problems due to false sharing, as instances of this data structures are typically used for performance sensitive code.
Reviewed-by: brutisso, stefank
2014-03-17 13:07:55 +01:00
Thomas Schatzl
483ea400a5
8035330: Remove G1ParScanPartialArrayClosure and G1ParScanHeapEvacClosure
...
Mentioned closures are actually wrapped methods. This adds confusion to readers, and in this case also increases code size as G1ParScanHeapEvacClosure is part of the oop_oop_iterate() methods. Move them into G1ParScanThreadState as methods.
Reviewed-by: stefank
2014-03-17 10:07:51 +01:00