Commit Graph

7052 Commits

Author SHA1 Message Date
Bengt Rutisson
ff1498ba6b 8025564: gc/memory/UniThread/Linear1 times out during heap verification
Reviewed-by: stefank, tschatzl
2014-09-08 10:41:06 +02:00
Igor Veresov
e285f3eadc 8056154: JVM crash with EXCEPTION_ACCESS_VIOLATION when there are many threads running
Don't make compiled MH intrinsics not entrant when redefining classes

Reviewed-by: kvn, vlivanov
2014-09-05 14:39:45 -07:00
Igor Veresov
5db7b3a4e1 8056124: Hotspot should use PICL interface to get cacheline size on SPARC
Using libpicl to get L1 data and L2 cache line sizes

Reviewed-by: kvn, roland, morris
2014-09-05 11:23:47 -07:00
Zoltan Majo
35bca0df61 8053886: assert(false) failed: Should not allocate with exception pending
Failure caused by allocating method counters. Changed the way counters are allocated (use get_method_counters() instead of build_method_counters())

Reviewed-by: kvn, thartmann, anoll
2014-09-05 16:07:22 +02:00
Vladimir Kozlov
f8eeba1ce4 8057643: Unable to build --with-debug-level=optimized on OSX
Added missing Hotspot make targets for 'optimized' build.

Reviewed-by: iveresov
2014-09-04 23:49:17 -07:00
Vladimir Kozlov
98f413fa1f Merge 2014-09-04 22:59:17 -07:00
Lana Steuck
100e3aba7b Merge 2014-09-04 14:45:08 -07:00
Jon Masamitsu
f93cc0e163 Merge 2014-09-04 13:45:39 -07:00
David Katleman
5f855a8d15 Added tag jdk9-b29 for changeset dc0034c79fa4 2014-09-04 13:26:26 -07:00
Jon Masamitsu
2d8379afd4 Merge 2014-09-04 12:25:05 -07:00
Aleksey Shipilev
13329b5040 8050147: StoreLoad barrier interferes with stack usages
Reviewed-by: jrose, kvn, drchase
2014-09-04 13:11:25 +04:00
Christian Tornqvist
c81071a7c7 8057147: [TESTBUG] Platform.isDebugBuild() doesn't work on all build types
Check java.version for debug string as well

Reviewed-by: gtriantafill, hseigel, sla, acorn, dcubed
2014-09-03 17:30:23 -04:00
Thomas Schatzl
a1b464a721 Merge 2014-09-03 15:07:47 +00:00
Thomas Schatzl
d840f222df 8057143: Incomplete renaming of variables containing "hrs" to "hrm" related to HeapRegionSeq
Fixup the remaining variable names.

Reviewed-by: tonyp, jwilhelm
2014-09-03 17:01:57 +02:00
Volker Simonis
0bfeda937a 8057129: Fix AIX build after the Extend CompileCommand=option change 8055286
Reviewed-by: kvn
2014-09-03 14:39:13 +02:00
Stefan Karlsson
635e35d00a 8057037: Verification in ClassLoaderData::is_alive is too slow
Reviewed-by: brutisso, mgerdin, tschatzl
2014-09-03 12:45:14 +02:00
Ioi Lam
04e110cf2c 8056971: Minor class loading clean-up
Misplacement of #if INCLUE_CDS, typos, unnecessary C string duplication

Reviewed-by: dholmes, ccheung
2014-09-02 09:51:24 -07:00
Lana Steuck
09fae2e8ed Merge 2014-08-29 11:57:22 -07:00
Serguei Spitsyn
f1aa6a6d0c Merge 2014-08-29 11:35:03 -07:00
David Katleman
efd6ea1172 Added tag jdk9-b28 for changeset fabe6090d37a 2014-08-29 11:30:41 -07:00
Jon Masamitsu
2ad3d66d79 Merge 2014-08-29 08:14:19 -07:00
Jon Masamitsu
2bc6e7b543 Merge 2014-08-29 08:07:13 -07:00
Staffan Larsen
e7b8addd7f 8055838: Hotspot does not compile with clang 6.0 (OS X Yosemite)
Reviewed-by: lfoltan, kvn
2014-08-29 13:34:16 +02:00
Mikael Gerdin
10379e7e82 8048268: G1 Code Root Migration performs poorly
Replace G1CodeRootSet with a Hashtable based implementation, merge Code Root Migration phase into Code Root Scanning

Reviewed-by: jmasa, brutisso, tschatzl
2014-08-29 13:12:21 +02:00
Mikael Gerdin
6fc8764c65 8056084: Refactor Hashtable to allow implementations without rehashing support
Reviewed-by: gziemski, jmasa, brutisso, coleenp, tschatzl
2014-08-29 13:08:01 +02:00
Lana Steuck
85effaaf95 Merge 2014-08-28 14:53:43 -07:00
Jon Masamitsu
a85209f8a5 Merge 2014-08-28 11:25:09 -07:00
Jon Masamitsu
0d0607c64c Merge 2014-08-28 17:45:58 +00:00
Lois Foltan
a2acb924db Merge 2014-08-28 13:01:44 -04:00
Rickard Bäckman
2b5065f487 Merge 2014-08-28 18:31:05 +02:00
Jon Masamitsu
97fe3fc7ea Merge 2014-08-28 08:56:52 -07:00
Lois Foltan
960d0fc613 8054355: ENFORCE_CC_COMPILER_REV needs to be updated to Solaris C++ 12u3 for JDK 9
Update of C++ validiation check for JDK 9 on Solaris.

Reviewed-by: coleenp, dcubed, kvn
2014-08-28 11:56:06 -04:00
Thomas Schatzl
f12e5848bd Merge 2014-08-28 15:55:05 +00:00
Coleen Phillimore
df46960ed0 Merge 2014-08-28 15:44:02 +00:00
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