5314 Commits

Author SHA1 Message Date
Ivan Gerasimov
8d7b009834 8055338: (process) Add instrumentation to help diagnose JDK-6573254
Reviewed-by: dcubed, ohair, iklam, dholmes, sspitsyn, sla
2014-08-21 16:32:36 -07:00
Rickard Bäckman
4576a80675 Merge 2014-08-21 19:06:21 +00:00
Rickard Bäckman
a5b650be48 Merge 2014-08-21 20:24:41 +02:00
Jon Masamitsu
0b2abe6053 Merge 2014-08-21 10:51:31 -07:00
Leonid Mesnik
6715fc0bed 8055098: WB API should be extended to provide information about size and age of object
Extend the WhiteBox API to provide information about the size and age of objects. Further add a mechanism to trigger a young GC.

Reviewed-by: tschatzl, sjohanss
2014-08-21 16:44:41 +02:00
Christian Tornqvist
6515584f58 Merge 2014-08-21 01:43:27 +00:00
Christian Tornqvist
6f75087c92 8027480: Build Windows x64 fastdebug builds using /homeparams
Windows x64 fastdebug builds now uses the /homeparams compiler flag

Reviewed-by: dcubed, zgu, lfoltan
2014-08-20 14:59:33 -07:00
Zhengyu Gu
27483c4d9b Merge 2014-08-20 21:37:50 +00:00
Zhengyu Gu
181ebe98ef 8055236: Deadlock during NMT2 shutdown on Windows
Removed MemTracker::shutdown() call to avoid deadlock

Reviewed-by: minqi, ctornqvi
2014-08-20 15:58:45 -04:00
Thomas Schatzl
ad89797fbd 8055635: Missing include in g1RegionToSpaceMapper.hpp results in unresolved symbol of fastdebug build without precompiled headers
Reviewed-by: mgerdin, ehelin
2014-08-20 15:04:39 +02:00
Zhengyu Gu
b7b6529192 Merge 2014-08-20 08:50:10 -04:00
Zhengyu Gu
92679c0226 8054546: NMT2 leaks memory
Fixed memory leak in NMT by baselining memory in c heap instead of an arena.

Reviewed-by: coleenp, minqi
2014-08-20 08:41:15 -04:00
Thomas Schatzl
7fe4686591 8055525: Bigapp weblogic+medrec fails to startup after JDK-8038423
If large pages are enabled and configured in Linux, the VM always pre-commits the entire space. The VM fails verification of the commit of the initial heap because some internal data structure marked all memory pages of the heap as committed during initialization. This makes the code think that we attempted a double-commit during first allocation of the heap. Remove the initial marking of memory pages of the heap to committed.

Reviewed-by: mgerdin
2014-08-20 14:34:40 +02:00
Alejandro Murillo
3c34abe0bd Merge 2014-08-19 11:17:44 -07:00
Roland Westrelin
400f0f7a8f 8055153: nsk/stress/jck60/jck60014 crashes on sparc
Missing control for LoadRange and LoadKlass nodes created during arraycopy node expansion

Reviewed-by: kvn, iveresov
2014-08-19 17:23:38 +02:00
Zhengyu Gu
4ef9e6c2bc Merge 2014-08-19 10:04:29 -04:00
Zhengyu Gu
511c342454 Merge 2014-08-19 08:42:46 -04:00
Zhengyu Gu
e672087234 8055007: NMT2: emptyStack missing in minimal build
Refactored emptyStack to a static member of NativeCallStack, which is accessible in minimal build.

Reviewed-by: coleenp, dholmes
2014-08-19 08:34:25 -04:00
Thomas Schatzl
100e51a339 8038423: G1: Decommit memory within heap
Allow G1 to decommit memory of arbitrary regions within the heap and their associated auxiliary data structures card table, BOT, hot card cache, and mark bitmaps.

Reviewed-by: mgerdin, brutisso, jwilhelm
2014-08-19 14:09:10 +02:00
Tobias Hartmann
8b9a829836 8048879: "unexpected yanked node" opto/postaloc.cpp:139
MemBarAcquireNode prevents deletion of dead LoadNNode. Added condition to 'has_special_unique_user' to trigger deletion.

Reviewed-by: kvn, iveresov
2014-08-19 07:36:11 +02:00
Poonam Bajaj
2617d54723 8044406: JVM crash with JDK8 (build 1.8.0-b132) with G1 GC
Fill the last card that has been allocated into with a dummy object

Reviewed-by: tschatzl, mgerdin
2014-08-18 19:30:24 -07:00
Zhengyu Gu
7bce315059 8055061: assert at share/vm/services/virtualMemoryTracker.cpp:332 Error: ShouldNotReachHere() when running NMT tests
Handled CDS mapping region and added test for the scenario

Reviewed-by: coleenp, ctornqvi
2014-08-19 09:05:55 -04:00
Thomas Schatzl
2ee5ee89d4 8054818: Refactor HeapRegionSeq to manage heap region and auxiliary data
Let HeapRegionSeq manage the heap region and auxiliary data to decrease the amount of responsibilities of G1CollectedHeap, and encapsulate this work from other code.

Reviewed-by: jwilhelm, jmasa, mgerdin, brutisso
2014-08-18 16:10:44 +02:00
Chris Hegarty
8d8b429bf4 Merge 2014-08-18 10:07:43 +01:00
Chris Hegarty
8b10a19669 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, mchung
2014-08-17 15:56:04 +01:00
Coleen Phillimore
af8c2b9e6d Merge 2014-08-15 20:37:43 +00:00
Vladimir Kozlov
b86cece468 Merge 2014-08-15 12:27:50 -07:00
Severin Gehwolf
31f98c26fc 8055231: ZERO variant build is broken
Fix zero build.

Reviewed-by: coleenp
2014-08-15 15:25:24 -04:00
Serguei Spitsyn
bc23c9949e Merge 2014-08-15 11:25:55 -07:00
Jon Masamitsu
9b3282f79b Merge 2014-08-15 09:06:17 -07:00
Jon Masamitsu
5a22518210 Merge 2014-08-14 18:42:08 +00:00
Zhengyu Gu
b91c7b5849 Merge 2014-08-14 17:25:14 +00:00
Zhengyu Gu
67c70b66e4 8054547: Re-enable warning for incompatible java launcher
Re-enabled warning as launcher change reached promotion build

Reviewed-by: hseigel, coleenp
2014-08-14 13:15:23 -04:00
Zhengyu Gu
7c306b0440 Merge 2014-08-14 13:13:15 +00:00
Zhengyu Gu
06a502d4a6 8054368: nsk/jdi/VirtualMachine/exit/exit002 crash with detail tracking on (NMT2)
Dynamic allocate _reserved_regions instead of static object to avoid racing during process exit

Reviewed-by: dholmes, coleenp
2014-08-14 09:02:51 -04:00
Tobias Hartmann
d50dfdb399 8054402: "klass->is_loader_alive(_is_alive)) failed: must be alive" for anonymous classes
Because anonymous classes are not in the system dictionary, we have to set 'unloading_occurred' based on 'CLDG::do_unloading()'. Added jtreg test.

Reviewed-by: kvn, coleenp
2014-08-14 09:15:39 +02:00
Igor Veresov
8ed4cb5a02 8054883: Segmentation error while running program
Fix pattern matching of range check

Reviewed-by: kvn
2014-08-13 17:37:11 -07:00
Daniel D. Daugherty
8937a201e0 Merge 2014-08-13 13:29:45 -07:00
Vladimir Kozlov
ed5be50e9e 8054927: Missing MemNode::acquire ordering in some volatile Load nodes
Fixed memory ordering parameter and added missing barriers for volatile loads.

Reviewed-by: roland, iveresov
2014-08-13 13:05:04 -07:00
Roland Westrelin
2a78aba488 Merge 2014-08-13 09:53:18 +00:00
Zoltan Majo
abd8ce7135 8043913: remove legacy code in SPARC's VM_Version::platform_features
Kept only getisax(2) to determine platform features

Reviewed-by: kvn, roland
2014-08-13 10:44:50 +02:00
Harold Seigel
1436d4b821 8050485: super() in a try block in a ctor causes VerifyError
Parse catch clause paths to ensure they end in throws

Reviewed-by: dlong, acorn, kamg, ctornqvi, lfoltan
2014-08-12 20:29:25 -04:00
Ioi Lam
bbe6f51f81 8046070: Class Data Sharing clean up and refactoring
Cleaned up CDS to be more configurable, maintainable and extensible

Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-12 17:29:00 -07:00
Coleen Phillimore
cafb36661d 8003426: Remove UseFastAccessors and UseFastEmptyMethods except for zero
These options have been long disabled in Xmixed mode because they prevent these small methods from being inlined and are subject to bit rot, and we don't need more macro assembler code to maintain and change if the constant pool cache format changes.

Reviewed-by: simonis, kvn
2014-08-12 10:48:55 -04:00
Zhengyu Gu
8a690a1250 6424123: JVM crashes on failed 'strdup' call
Calling os::malloc()/os::strdup() and new os::strdup_check_oom() instead of ::malloc()/::strdup() for native memory tracking purpose

Reviewed-by: coleenp, ctornqvi, kvn
2014-08-11 10:18:09 -07:00
Zhengyu Gu
d595244c27 Merge 2014-08-11 07:20:39 -07:00
Roland Westrelin
fa334043fe 8054224: Recursive method that was compiled by C1 is unable to catch StackOverflowError
Do not update exception cache if exception is replaced when thrown

Reviewed-by: kvn, iveresov
2014-08-11 15:09:04 +02:00
Roland Westrelin
dc1afd4abe Merge 2014-08-11 13:02:44 +00:00
Roland Westrelin
a56ade07c7 7173584: Implement arraycopy as a macro node
Delay the conversion of arraycopy to stub calls to macro expansion

Reviewed-by: kvn, iveresov
2014-08-11 14:12:51 +02:00
Stefan Karlsson
2880629908 8054823: Add size_t as a valid VM flag type
Reviewed-by: kvn, vlivanov, sla
2014-08-11 14:03:06 +02:00