Commit Graph

7068 Commits

Author SHA1 Message Date
Coleen Phillimore
49d21c007b Merge 2014-08-28 11:30:11 -04:00
Coleen Phillimore
73d759e533 8049105: Move array component mirror to instance of java/lang/Class (hotspot part 2)
This removes component mirrors from arrayKlass metadata and the C2 intrinsic for them.

Reviewed-by: kvn, twisti, mgerdin
2014-08-28 11:29:09 -04:00
Thomas Schatzl
146c4f6999 Merge 2014-08-28 17:06:29 +02:00
Thomas Schatzl
344be39551 8054808: Bitmap verification sometimes fails after Full GC aborts concurrent mark
The verification code that checked whether no bitmap mark had been found re-read HeapRegion::end() after the check on the bitmap. Concurrent humongous object allocation could have changed HeapRegion::end() in the meantime. Fix this by using the actual end of the region instead of HeapRegion::end() for comparison.

Reviewed-by: brutisso, jmasa
2014-08-28 17:05:41 +02:00
Dmitry Samersoff
4d88604ce5 8029172: warnings from b117 for hotspot.agent.src.os.linux: JNI exception pending
Added missed exception checks

Reviewed-by: chegar, sla
2014-08-28 07:46:49 -07:00
Dmitry Fazunenko
6f13f6587d 8050464: G1 string deduplication tests hang/timeout and leave running processes consuming all resources
Reviewed-by: jmasa
2014-08-28 18:38:31 +04:00
Dmitry Samersoff
ca7943ac3b 8031583: warnings from b03 for hotspot/agent/src/os/solaris/proc: JNI exception pending
Added missed exception checks

Reviewed-by: sla, sspitsyn
2014-08-28 06:32:16 -07:00
Erik Joelsson
152cf7d4ba 8056053: Disable HOTSPOT_BUILD_JOBS when building with configure
Reviewed-by: dholmes, ihse, dcubed
2014-08-28 11:59:04 +02:00
Ioi Lam
541640ed22 Merge 2014-09-05 15:53:02 -07:00
Coleen Phillimore
731bbae8fa 8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid
Revert two small changes from the previous-versions cleanup with marking code cache.

Reviewed-by: kvn, dcubed
2014-09-05 08:08:51 -04:00
Zhengyu Gu
b20fa155a6 Merge 2014-09-04 14:58:58 -04:00
Zhengyu Gu
95216ecffe 8055289: Internal Error: mallocTracker.cpp:146 fatal error: Should not use malloc for big memory block, use virtual memory instead
Return NULL if memory allocation size is bigger than MAX_MALLOC_SIZE when NMT is on

Reviewed-by: coleenp, gtriantafill
2014-09-04 14:50:31 -04:00
Dmitry Samersoff
b4c90b963e 8035419: warning from b09 for hotspot.agent.src.os.win32.windbg.sawindbg.cpp: 'JNI exception pending'
Added missed exceptions checks

Reviewed-by: sla, sspitsyn
2014-09-04 04:17:32 -07:00
Staffan Larsen
f7f89e4a54 Merge 2014-09-04 08:48:53 +02:00
Coleen Phillimore
3c70d99eda 8055008: Clean up code that saves the previous versions of redefined classes
Use scratch_class to find EMCP methods for breakpoints if the old methods are still running.

Reviewed-by: dcubed, sspitsyn
2014-09-03 19:13:18 -04:00
Fredrik Arvidsson
07001d0332 8056242: Add function to return structured information about loaded libraries
Return structured information about loaded libraries.

Reviewed-by: sla, dsamersoff
2014-09-03 14:43:49 +02:00
Bill Pittore
88eb5fb4d6 8046210: Missing memory barrier when reading init_lock
Reviewed-by: fparain, dcubed, mdoerr
2014-09-02 21:27:08 -04:00
Fredrik Arvidsson
cd4f6c4f45 8055755: Information about loaded dynamic libraries is wrong on MacOSX
The information about loaded dynamic libraries printed in hs_err_pid files or by running the jcmd VM.dynlib is partly incorrect. The address printed in front of the library file name is wrong.

Reviewed-by: sla, gziemski, gtriantafill
2014-08-28 10:28:21 +02:00
Volker Simonis
d9da8946df 8056175: Change "8048150: Allow easy configurations for large CDS archives" triggers conversion warning with older GCC
Cast the result of the conversion to uintx

Reviewed-by: ccheung, coleenp
2014-08-27 10:42:28 -07:00
Igor Ignatyev
600705ce90 8056072: add jprt_optimized targets
Reviewed-by: kvn, roland
2014-08-27 17:09:18 +04:00
Zoltan Majo
6ec9232c46 8051415: TypeTuple::make_domain() and TypeTuple::make_range() allocate too much memory
Change memory allocation in TypeTuple::make_domain() and TypeTuple::make_range() to not allocate memory for TypeFunc::Parms.

Reviewed-by: kvn, roland
2014-08-27 10:02:58 +02:00
Stefan Johansson
204425b78f 8028787: tmtools/jstat/gcoldcapacity/jstat_gcoldcapacity02 fails nsk.share.Failure: OGC < OGCMN in RT_Baseline
Passing the min and max size of the generation into the counter instead of using the space to estimate sizes.

Reviewed-by: stefank, tschatzl
2014-08-27 09:47:06 +02:00
Bengt Rutisson
663618a6a1 Merge 2014-08-27 09:22:22 +00:00
Bengt Rutisson
bbe82cb85b 8055816: Remove dead code in g1BlockOffsetTable
Reviewed-by: tschatzl, mgerdin
2014-08-27 10:51:08 +02:00
Thomas Schatzl
b89a9d94b5 8056043: Heap does not shrink within the heap after JDK-8038423
Enable shrinking within the heap by removing some code added for JDK-8054818. Enable the test case that checks that again too.

Reviewed-by: jwilhelm, jmasa
2014-08-27 08:59:05 +02:00
Christian Tornqvist
3a78ac3c1b 8041727: [TESTBUG] runtime/jsig/Test8017498.sh fails with Test8017498.sh: 50: [: x/usr/bin/gcc: unexpected operator
Fixed shell script issues

Reviewed-by: dcubed, gtriantafill
2014-08-26 13:07:57 -07:00
Thomas Schatzl
f789d43b8e 8055919: Remove dead code in G1 concurrent marking code
Reviewed-by: jmasa, jwilhelm
2014-08-26 14:15:50 +02:00
Leonid Mesnik
40b25893d0 8055953: [TESTBUG] Fix for 8055098 does not contain unit test
Add missing unit test.

Reviewed-by: tschatzl
2014-08-26 14:15:42 +02:00
Thomas Schatzl
9086b5795f 8054819: Rename HeapRegionSeq to HeapRegionManager
Reviewed-by: jwilhelm, jmasa
2014-08-26 09:36:53 +02:00
Tobias Hartmann
9ae2646f0f Merge 2014-08-25 07:44:58 +00:00
Stefan Karlsson
57cb2ef95e Merge 2014-08-25 07:35:36 +00:00
Calvin Cheung
e7456dcf86 8048150: Allow easy configurations for large CDS archives
Estimate the size of shared archive based on the number of classes in the classlist file

Reviewed-by: iklam, jiangli, minqi, dholmes
2014-08-25 00:13:36 -07:00
Stefan Karlsson
2bf343ea50 8055416: Several vm/gc/heap/summary "After GC" events emitted for the same GC ID
Reviewed-by: brutisso, ehelin
2014-08-25 09:10:13 +02:00
Bengt Rutisson
e1cf783e06 8055818: Remove PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC from g1BlockOffsetTable.cpp
Reviewed-by: stefank, mgerdin
2014-08-25 08:27:19 +02:00
Tobias Hartmann
a7727ecf87 8055751: TestAnonymousClassUnloading.java needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
Copy additional Whitebox class file to JTwork (required by JDK-8011397).

Reviewed-by: kvn
2014-08-25 07:08:53 +02:00
Tobias Hartmann
f7af76db24 8055657: Test compiler/classUnloading/methodUnloading/TestMethodUnloading.java does not work with non-default GC
Remove the '-XX:+UseParallelGC' parameter from the test because it is conflicting with other GC settings.

Reviewed-by: kvn
2014-08-25 07:04:09 +02:00
Christian Tornqvist
05c6411eed 8055844: [TESTBUG] test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails on Solaris Sparc due to incorrect page size being used
Use 128KB chunks for virtual memory operations

Reviewed-by: zgu, gtriantafill
2014-08-22 14:21:41 -07:00
Vladimir Kozlov
f813683519 8055069: TSX and RTM should be deprecated more strongly until hardware is corrected
Require to specify UnlockExperimentalVMOptions flag together with UseRTMLocking flag on un-patched systems where CPUID allows it but is unsupported otherwise.

Reviewed-by: iveresov, fzhinkin
2014-08-22 12:03:49 -07:00
Alejandro Murillo
9d6f18c297 Merge 2014-08-22 09:55:49 -07:00
Jon Masamitsu
ab48e9abc1 Merge 2014-08-22 07:12:23 -07:00
George Triantafillou
3f590aeec4 8055765: Misplaced @key stress prevents MallocSiteHashOverflow.java and MallocStressTest.java tests from running
Reviewed-by: ctornqvi, zgu, hseigel
2014-08-22 06:28:14 -07:00
George Triantafillou
311638a602 8055684: runtime/NMT/CommandLineEmptyArgument.java fails
Reviewed-by: ctornqvi, sla
2014-08-21 14:37:39 -07:00
George Triantafillou
2d90aac381 8055053: [TESTBUG] runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails
Reviewed-by: ctornqvi, zgu
2014-08-22 07:38:42 -07:00
George Triantafillou
663ff7ad59 8055052: [TESTBUG] runtime/NMT/JcmdDetailDiff.java fails on Windows when there are no debug symbols available
Reviewed-by: ctornqvi, hseigel
2014-08-22 06:46:29 -07:00
Daniel D. Daugherty
4e9a6c7d35 Merge 2014-08-22 11:23:36 -07:00
Christian Tornqvist
bf8c47fafe 8055814: [TESTBUG] runtime/NMT/NMTWithCDS.java fails with product builds due to missing UnlockDiagnosticVMOptions
Passing -XX:+UnlockDiagnosticVMOptions to ProcessBuilder

Reviewed-by: zgu, gtriantafill
2014-08-22 09:30:57 -07:00
Staffan Larsen
fe076d8a29 8055754: filemap.cpp does not compile with clang
Reviewed-by: kvn, iklam, coleenp
2014-08-22 08:13:38 +02:00
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
David Katleman
0b54c1ce49 Added tag jdk9-b27 for changeset e5904519ae05 2014-08-21 14:16:15 -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
Christian Tornqvist
655556a4bf 8055164: [TESTBUG] runtime/CompressedOops/CompressedClassPointers.java fails with OpenJDK build
Removed explicit check for HotSpot in output

Reviewed-by: sla, coleenp, hseigel
2014-08-20 14:59:08 -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
Jon Masamitsu
e0d403f3b5 Merge 2014-08-19 13:44:55 -07: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
Vladimir Kozlov
b37ae217fa 8055503: Rollback 8054164 changeset
Reviewed-by: iveresov
2014-08-19 16:20:18 -07:00
Vladimir Kozlov
a94ab9c7a1 Merge 2014-08-19 17:48:16 +00:00
Zhengyu Gu
4ef9e6c2bc Merge 2014-08-19 10:04:29 -04:00
George Triantafillou
1a1ce4534e 8055051: runtime/NMT/CommandLineEmptyArgument.java fails
Disable failing test

Reviewed-by: ctornqvi, zgu
2014-08-19 06:47:28 -07: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
George Triantafillou
8fe87f3da7 8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated
Enable tests for NMT2

Reviewed-by: ctornqvi, zgu
2014-08-18 11:56:12 -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
17e9dba8e9 Merge 2014-08-18 15:43:29 +00:00
Mikael Gerdin
3d15ed6007 Merge 2014-08-18 14:49:42 +00:00
Dmitry Fazunenko
b9b2141c2d 8055284: sanity/WhiteBox.java fails with NPE
Revert previous change, sanity/WhiteBox.java provides its own sun.hotspot.WhiteBox class.

Reviewed-by: ehelin, brutisso
2014-08-18 16:19:57 +02: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
Thomas Schatzl
71775c28e2 8054362: gc/g1/TestEagerReclaimHumongousRegions2.java timeout
Give the test a time limit of approximately one minute so that it exits early on slow machines.

Reviewed-by: ehelin, dfazunen, brutisso
2014-08-18 15:41:57 +02:00
Stefan Karlsson
ab077e18a5 Merge 2014-08-18 12:25:36 +00:00
Stefan Karlsson
173377d355 8055275: Several gc/class_unloading/ tests fail due to missed +UnlockDiagnosticVMOptions flag
Reviewed-by: mgerdin, jwilhelm
2014-08-18 14:12:48 +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
Alejandro Murillo
d85f054e11 Merge 2014-08-15 09:19:22 -07:00
Jon Masamitsu
9b3282f79b Merge 2014-08-15 09:06:17 -07:00
Christian Tornqvist
2d98294837 8032999: [TESTBUG] JT-Reg Runtime tests to be run as part of JPRT submit job
JPRT will now run most of the tests in /runtime

Reviewed-by: dcubed, mseledtsov, zgu, mikael
2014-08-14 18:14:07 -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
Vladimir Kozlov
89127c7360 8054164: solaris makefile
Reviewed-by: roland
2014-08-13 17:50:21 -07: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
Mike Duigou
99237ec5d9 8047952: Remove _FORTIFY_SOURCE from fastdebug and slowdebug builds
Reviewed-by: dholmes
2014-08-13 23:33:33 +00: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
1fec07f4bf Merge 2014-08-12 21:16:05 -04:00
Christian Tornqvist
69c1d825ff 8054713: [TESTBUG] runtime/jsig/Test8017498.sh: Execution failed: exit code 1
Changed output directory of gcc to avoid permission problems

Reviewed-by: coleenp, minqi
2014-08-12 17:29:47 -07: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
Christian Tornqvist
0604ebb2bf Merge 2014-08-12 21:18:14 +00:00
George Triantafillou
89c5882d2e 8054952: [TESTBUG] Add missing NMT2 tests
The new NMT2 tests got lost on the way into jdk9 yesterday, this change adds them.

Reviewed-by: coleenp, zgu, ctornqvi
2014-08-12 14:06:41 -07:00
Alejandro Murillo
d7991d3827 Merge 2014-08-12 14:04:21 -07:00
Zhengyu Gu
097085961f 8054938: [TESTBUG] Wrong WhiteBox.java was pushed by JDK-8044140
Reserved WhiteBox.java pushed by JDK-8044140

Reviewed-by: ccheung, hseigel
2014-08-12 12:39:02 -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
George Triantafillou
69e7c05210 8044140: Create NMT (Native Memory Tracking) tests for NMT2
Create new/modify existing tests for NMT2, which is an internal redesign to address scalability issues in the first implementation.

Reviewed-by: ctornqvi, zgu
2014-08-11 07:30:46 -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
Andrey Zakharov
dd95f0a0c2 8011397: JTREG needs to copy additional WhiteBox class file to JTwork/scratch/sun/hotspot
Reviewed-by: kvn, iignatyev, mgerdin
2014-08-11 17:12:41 +04:00
Dmitry Samersoff
2649b6be70 8049049: Unportable format string argument mismatch in hotspot/agent/src/os/solaris/proc/saproc.cpp
Cast arguments on printing

Reviewed-by: dholmes, sspitsyn, jbachorik
2014-08-11 04:37:19 -07:00
Tobias Hartmann
a67aa1e3df 8043284: Optimize signed integer comparison
Folding of BoolNode if input add/sub of CmpI overflows and we can prove that compared value is not in the two resulting ranges. Added test for CmpI and CmpU optimizations.

Reviewed-by: kvn, rbackman, roland
2014-08-11 13:01:37 +02:00
Lana Steuck
99d4b78fae Added tag jdk9-b26 for changeset 3a55fad9854a 2014-08-10 19:38:53 -07:00
Jon Masamitsu
d4ca2cc557 Merge 2014-08-08 16:24:16 -07:00
Alejandro Murillo
29ec2196ef Merge 2014-08-08 11:36:48 -07:00
Vladimir Kozlov
648272884a Merge 2014-08-08 10:35:05 -07:00
Jon Masamitsu
1cf05b831f Merge 2014-08-08 07:38:34 -07:00
Jon Masamitsu
30d4217ecd Merge 2014-08-07 20:17:37 -07:00
Morris Meyer
a6397cd368 8040920: Uninitialised memory in hotspot/src/share/vm/code/dependencies.cpp
Fixed parfait initialization issue.

Reviewed-by: kvn, twisti
2014-08-07 18:09:12 -07:00
Zhengyu Gu
f0cf82f571 8046598: Scalable Native memory tracking development
Enhance scalability of native memory tracking

Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Marcus Larsson
ae0190f121 8051837: Remove temporary G1UseParallelRSetUpdating and G1UseParallelRSetScanning flags
Reviewed-by: stefank, tschatzl
2014-08-07 09:35:08 +02:00
Stefan Karlsson
ef47f5dc0e 8048269: Add flag to turn off class unloading after G1 concurrent mark
Added -XX:+/-ClassUnloadingWithConcurrentMark

Reviewed-by: jmasa, brutisso, mgerdin
2014-08-06 09:55:16 +02:00
Jon Masamitsu
e57b1279b2 8034056: assert(_heap_alignment >= _space_alignment) failed: heap_alignment less than space_alignment
Reviewed-by: tschatzl, sjohanss
2014-08-05 15:41:12 -07:00
Thomas Schatzl
94d0494b27 8054341: Remove some obsolete code in G1CollectedHeap class
Remove dead code.

Reviewed-by: stefank, brutisso
2014-08-07 22:28:53 +02:00
Thomas Schatzl
24bee82e67 8052170: G1 asserts at collection exit with -XX:-G1DeferredRSUpdate
Do not try to verify timing measures for the redirty logged cards phase when it is not executed.

Reviewed-by: brutisso, jmasa
2014-08-07 22:28:16 +02:00
Dmitry Samersoff
40b035d141 Merge 2014-08-05 14:18:44 +00:00
Harold Seigel
1c5ed7ab4c 8046233: VerifyError on backward branch
Remove check that causes the VerifyError

Reviewed-by: dholmes, coleenp, acorn
2014-08-05 09:11:35 -04:00
Dmitry Samersoff
dd9932fa02 8025667: Warning from b62 for hotspot.agent.src.os.solaris.proc: use after free
Move free call few lines down

Reviewed-by: dholmes, sspitsyn
2014-08-05 06:11:35 -07:00
Lana Steuck
9243ae2029 Merge 2014-08-04 15:34:37 -07:00
Stefan Karlsson
bdeaedbd38 8051883: TEST.groups references missing test: gc/class_unloading/TestCMSClassUnloadingDisabledHWM.java
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-08-04 15:04:45 +02:00
Jon Masamitsu
47e31eaa7a Merge 2014-08-03 03:48:24 +00:00
Harold Seigel
f588cd1325 8051012: Regression in verifier for <init> method call from inside of a branch
Fix stackmap matching for branches.

Reviewed-by: coleenp, lfoltan, acorn
2014-08-02 16:28:59 -04:00
Roland Westrelin
355f6eb4ae 8046698: assert(false) failed: only Initialize or AddP expected macro.cpp:943
PhiNode inserted between AllocateNode and Initialization node confuses allocation elimination

Reviewed-by: kvn
2014-08-02 07:06:08 +02:00
Igor Ignatyev
eaabce8778 8054410: compiler/7068051/Test7068051.java fails with FileNotFoundException: f3oo.jar
Reviewed-by: kvn
2014-08-06 21:21:25 +04:00
Tobias Hartmann
1213845b36 8029443: 'assert(klass->is_loader_alive(_is_alive)) failed: must be alive' during VM_CollectForMetadataAllocation
Added missing metadata relocation to 'loadConP_no_oop_cheap' on Sparc if the pointer is referring to a Klass. Added jtreg test.

Reviewed-by: kvn, roland
2014-08-06 08:47:40 +02:00
Vladimir Kozlov
7764490363 8052081: Optimize generated by C2 code for Intel's Atom processor
Allow to execute vectorization and crc32 optimization on Atom. Enable UseFPUForSpilling by default on x86.

Reviewed-by: roland
2014-08-05 15:02:10 -07:00
Morris Meyer
97512f58ec 8040921: Uninitialised memory in hotspot/src/share/vm/c1/c1_LinearScan.cpp
Fixed parfait initialization issue.

Reviewed-by: kvn, twisti
2014-08-05 08:19:03 -07:00
Tobias Hartmann
70a55eac34 8054033: Remove unused references to Compile*
Removed unused references to Compile* missed by JDK-8034812.

Reviewed-by: kvn, roland
2014-08-05 09:58:52 +02:00