7630 Commits

Author SHA1 Message Date
Zoltan Majo
567113bed6 Merge 2016-07-06 12:01:07 +00:00
Thomas Schatzl
7fd90042ca 8159978: Use an array to store the collection set regions instead of linking through regions
Fix a potential problem with memory visibility in the sampling thread in the collection set by changing the way we store the collection set.

Reviewed-by: ehelin, jmasa
2016-07-06 11:22:55 +02:00
Zoltan Majo
e0e3bd5582 8160527: Check for final instance field updates can be omitted
Disable final field resolution in the constant pool cache. Correct error message printed at field resolution. New tests.

Reviewed-by: jrose, coleenp
2016-07-06 11:16:36 +02:00
Derek White
2e1b011569 8158946: btree009 fails with assert(s > 0) failed: Bad size calculated
Set oop_size before setting _klass

Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2016-07-05 15:34:06 -04:00
Kim Barrett
4e25b9f930 Merge 2016-07-05 20:09:21 +02:00
Yasumasa Suenaga
146cbf3702 8160353: narrowing conversion error is occurred with GCC 6
Reviewed-by: kbarrett, dholmes
2016-07-04 12:43:01 +09:00
Yasumasa Suenaga
82858779e9 8160361: SEGV occurred at JNIHandleBlock::oops_do(OopClosure*)
Reviewed-by: dsamersoff, tschatzl
2016-06-28 00:24:10 +09:00
Per Lidén
3ad9aa0f10 8159974: G1 String deduplication logging not aligned with the rest of G1
Reviewed-by: stefank, tschatzl
2016-07-04 11:27:11 +02:00
Poonam Bajaj
a213803042 Merge 2016-07-01 23:11:45 +00:00
Poonam Bajaj
f97651b356 8064814: Print more helpful error message when getting OOM due to low Java Heap base when running with CompressedOops
Improve OOM error message

Reviewed-by: coleenp, dholmes
2016-07-01 12:51:29 -07:00
Yasumasa Suenaga
8ea7496925 8160356: invalid suffix on literal warning is occurred with GCC 6
Add whitespace separation

Reviewed-by: kbarrett, kvn
2016-06-30 19:16:14 -04:00
Marcus Larsson
992b6c464a 8159695: Arguments::atojulong() fails to detect overflows
Reviewed-by: dholmes, dsamersoff
2016-06-29 16:11:50 +02:00
Coleen Phillimore
fd1c7ff505 8160551: assert(c == Bytecodes::_putfield) failed: must be putfield
Illegal bytecodes which are detected later hit this assert first.

Reviewed-by: jrose
2016-06-29 20:16:05 -04:00
Lois Foltan
92eb334c91 8159262: Walking PackageEntry Export and ModuleEntry Reads Must Occur Only When Neccessary And Wait Until ClassLoader's Aliveness Determined
Fixed an issue in class unloading to delay walk until class loader's aliveness is determined of modularity lists to remove dead modules

Reviewed-by: coleenp, dholmes, sspitsyn, zgu
2016-06-28 10:11:01 -04:00
Per Lidén
651e15fda6 8159890: SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: stefank, drwhite, tschatzl, jiangli, iklam
2016-06-28 10:37:52 +02:00
Per Lidén
e7a6ecea86 8158871: Long response times with G1 and StringDeduplication
Reviewed-by: stefank, sjohanss, tschatzl, dfazunen
2016-06-27 09:35:18 +02:00
Jon Masamitsu
3af1b64ce1 8024945: Remove check on minimum size of MetaspaceSize
Reviewed-by: kbarrett, tschatzl
2016-06-13 14:10:09 -07:00
Joseph Provino
5648deddee 8153582: Logging of ConcGCThreads is done too early
ConcGCThreads is logged as 0 because it hasn't been initialized yet.

Reviewed-by: tschatzl, dfazunen
2016-05-19 10:48:28 -04:00
Nils Eliasson
1af289e8c3 8155108: CompilerControl: tests incorrectly set states for excluded methods
Remove redundant code that was not properly updated

Reviewed-by: kvn
2016-05-19 10:40:19 +02:00
Doug Simon
64001ce527 8156835: [JVMCI] clean up and minimize JVMCI
Reviewed-by: iveresov, kvn
2016-05-18 21:50:27 +00:00
Roland Schatz
5686cc1784 8156942: [JVMCI] replace LIRKind with abstract base class
Reviewed-by: iveresov
2016-05-18 17:01:01 +00:00
Andreas Eriksson
46627989d5 8135322: ConstantPool::release_C_heap_structures not run in some circumstances
Reviewed-by: coleenp, sspitsyn
2016-05-18 11:06:00 +02:00
Claes Redestad
807e2b367c 8157090: SharedArchiveFile/SpaceUtilizationCheck.java fails as space utilization is below 30 percent
Reviewed-by: iklam, mseledtsov
2016-05-18 16:28:42 +02:00
Jiangli Zhou
d40a606f06 8149977: DumpLoadedClassList should not include generated classes
Exclude anonymous classes from the generated class list.

Reviewed-by: ccheung, iklam, hseigel
2016-05-17 17:42:16 -04:00
Alejandro Murillo
7bd620bff1 Merge 2016-05-14 15:34:30 -07:00
Christian Thalinger
d88959ebfb Merge 2016-05-13 21:26:06 +00:00
Joseph Provino
6be4410a0e 8156964: gc/logging/TestUnifiedLoggingSwitchStress.java hits assert
Old debug code needs to be removed.

Reviewed-by: stefank, jwilhelm
2016-05-13 15:57:17 -04:00
Jon Masamitsu
db0f9f020b 8156867: Simplify/reduce testing in ParallelCompact_test
Reviewed-by: jwilhelm, jprovino
2016-05-13 12:36:03 -07:00
Coleen Phillimore
178842d251 8155951: VM crash in nsk/jvmti/RedefineClasses/StressRedefine: assert failed: Corrupted constant pool
8151066: assert(0 <= i && i < length()) failed: index out of bounds

Lock classes for redefinition because constant pool merging isn't thread safe, use method constant pool because constant pool merging doesn't make equivalent cpCaches because of invokedynamic

Reviewed-by: sspitsyn, dholmes
2016-05-17 08:51:05 -04:00
Goetz Lindenmaier
e84506041e 8156929: [aix] Add missing includes
Reviewed-by: coleenp, dholmes
2016-05-17 03:26:07 -04:00
Martin Doerr
cb6496c297 8141635: Implement VarHandles/Unsafe intrinsics on POWER
Reviewed-by: shade, kvn, simonis
2016-05-13 22:21:54 +03:00
Goetz Lindenmaier
618f5131e6 8156922: [ppc] Implement template interpreter stack overflow checks as on x86/sparc
Reviewed-by: dlong, dholmes, simonis, coleenp
2016-05-13 15:20:06 +02:00
Harold Seigel
1fae073d9c 8156156: Add module specific NMT MemoryType
Change NMT tag for allocations for modules support to mtModule

Reviewed-by: coleenp, lfoltan, gtriantafill
2016-06-01 11:14:58 -04:00
Harold Seigel
737a2a5946 8158060: BasicLayerTest causes fatal error: Thread holding lock at safepoint that vm can block on: Module_lock
Move the exception throw outside of the block containing the lock

Reviewed-by: dholmes, kbarrett, lfoltan
2016-06-01 07:44:43 -04:00
Robbin Ehn
e456d998a8 8158150: LogConfiguration::describe output can get truncated
Reviewed-by: dholmes, kbarrett
2016-05-31 12:40:42 +02:00
Dmitry Fazunenko
acc40d57ab 8154096: Extend WhiteBox API with methods which retrieve from VM information about available GC
Reviewed-by: iignatyev, kbarrett
2016-05-30 19:56:27 +04:00
Artem Smotrakov
c7a54bbb06 Merge 2016-05-27 19:43:58 +00:00
Coleen Phillimore
f0f9e93eb1 Merge 2016-05-27 16:39:49 +00:00
Artem Smotrakov
68c8a74fbe 8152207: Perform array bound checks while getting a length of bytecode instructions
Reviewed-by: hseigel
2016-05-27 09:25:49 -07:00
Coleen Phillimore
8fea607c9c Merge 2016-05-27 14:57:11 +00:00
Coleen Phillimore
c36295e947 8145148: InterfaceMethod CP entry pointing to a class should cause ICCE
Pass tag in LinkInfo and check that resolved method type matches tag, fix tests.

Reviewed-by: sspitsyn, minqi
2016-05-27 10:52:39 -04:00
Vladimir Ivanov
3cda431b12 Merge 2016-05-27 14:49:05 +00:00
Vladimir Ivanov
df9373aad7 Merge 2016-05-27 16:56:23 +03:00
Ioi Lam
e5e41a2375 8145247: incorrect comment in SystemDictionary::load_shared_class
Reviewed-by: jiangli, ccheung, gtriantafill
2016-05-27 05:49:24 -07:00
David Holmes
6253b1d251 8154589: assert(k != NULL) failed: preloaded klass not initialized
Reviewed-by: sspitsyn, hseigel
2016-05-26 20:43:13 -04:00
Mandy Chung
2bbe02b202 8155977: ObjectInputStream::resolveClass & resolveProxyClass for platform loader
Reviewed-by: acorn, alanb, chegar, dfuchs
2016-05-12 11:16:16 -07:00
Roland Schatz
9f43471b55 8156768: [JVMCI] remove support for patching Symbol pointers
Reviewed-by: iveresov
2016-05-12 12:59:35 +02:00
Aleksey Shipilev
5e2fa37504 8153792: EA: assert(ptn->as_LocalVar()->edge_count() > 0) failed: sanity when compiling compareAndExchange
Reviewed-by: kvn, psandoz
2016-05-12 12:46:07 +03:00
Tobias Hartmann
8adbc20c87 8155241: Crash with assert in Xcomp mode and with disabled ReduceBulkZeroing
We should not assume that a CloneBasic arraycopy sets array initialization to complete.

Reviewed-by: kvn, roland
2016-05-12 08:25:42 +02:00
Tobias Hartmann
cf5a61530f 8155643: Java crash with assert in Xcomp mode and disabled ReduceInitialCardMarks
We should not emit a subtype check for CloneOop arraycopy.

Reviewed-by: kvn
2016-05-12 08:23:25 +02:00