Commit Graph

4806 Commits

Author SHA1 Message Date
Erik Helin
774e23fae7 Merge 2013-06-20 10:03:58 +02:00
Nils Loodin
d357b575b3 Merge 2013-06-19 18:13:52 +02:00
Vladimir Kempik
053da424c7 8015903: Format issue with -XX:+PrintAdaptiveSizePolicy on JDK8
Missing linebreak in hotspot log.

Reviewed-by: brutisso, tschatzl
2013-06-19 06:09:46 -07:00
Bengt Rutisson
3cc79df807 8016556: G1: Use ArrayAllocator for BitMaps
Reviewed-by: tschatzl, dholmes, coleenp, johnc
2013-06-18 22:45:32 +02:00
John Cuthbertson
5382e0759e 8015237: Parallelize string table scanning during strong root processing
Parallelize the scanning of the intern string table by having each GC worker claim a given number of buckets. Changes were also reviewed by Per Liden <per.liden@oracle.com>.

Reviewed-by: tschatzl, stefank, twisti
2013-06-18 12:31:07 -07:00
Andreas Schoesser
e97599b826 8015660: Test8009761.java "Failed: init recursive calls: 24. After deopt 25"
Windows reserves and only partially commits thread stack. For detecting more thread stack space for execution,  Windows installs one-shot page as guard page just before the current commited edge. It will trigger STACK_OVERFLOW_EXCEPTION when lands on last 4 pages of thread stack space. StackYellowPages default value is 2 on Windows (plus 1 page of StackRedPages, 3 pages guarded by hotspot) so the exception happens one page before Yellow pages. Same route executed second time will have one more page brought in, this leads same execution with different stack depth(interpreter mode). We need match Windows settings so the stack overflow exception will not happen before Yellow pages.

Reviewed-by: dholmes
2013-06-18 09:08:35 -07:00
Zhengyu Gu
43c33d40c3 Merge 2013-06-18 09:34:16 -04:00
Zhengyu Gu
61a30f035b 8013651: NMT: reserve/release sequence id's in incorrect order due to race
Fixed NMT race condition for realloc, uncommit and release

Reviewed-by: coleenp, ccheung
2013-06-18 08:44:08 -04:00
Staffan Larsen
055cce652b 8016304: ThreadMXBean.getDeadlockedThreads reports bogus deadlocks on JDK 8
Reviewed-by: dcubed, mgronlun
2013-06-17 18:35:44 +02:00
Alejandro Murillo
a8616cb1c2 8016567: new hotspot build - hs25-b38
Reviewed-by: jcoomes
2013-06-14 07:27:22 -07:00
Alejandro Murillo
15fcf20d64 Added tag hs25-b37 for changeset d8e8521557b2 2013-06-13 23:28:20 -07:00
Alejandro Murillo
a848daadd7 Merge 2013-06-13 23:28:20 -07:00
Bengt Rutisson
f18e968d43 8012265: VM often crashes on solaris with a lot of memory
Increase HeapBaseMinAddress for G1 from 256m to 1g on Solaris x86

Reviewed-by: mgerdin, coleenp, kvn
2013-06-14 08:02:32 +02:00
David Katleman
ddf560776e Added tag jdk8-b94 for changeset 847c7c6c4e4a 2013-06-13 09:48:27 -07:00
Zhengyu Gu
87505d60f6 8013917: Kitchensink crashed with SIGSEGV in BaselineReporter::diff_callsites
Simple fix when memory allocation site is gone, NMT should report 0 memory size, instead old memory size.

Reviewed-by: dcubed, ctornqvi
2013-06-10 10:45:19 -04:00
Markus Grönlund
08f43d4379 8016105: Add complementary RETURN_NULL allocation macros in allocation.hpp
Reviewed-by: sla, rbackman
2013-06-15 13:17:36 +02:00
Serguei Spitsyn
c6b677315f Merge 2013-06-14 22:34:08 -07:00
Daniel D. Daugherty
9545142734 Merge 2013-06-14 19:49:58 -07:00
Zhengyu Gu
b9dc514e6c Merge 2013-06-14 15:20:32 -07:00
Serguei Spitsyn
f0d506b4b5 6493116: JVMTI Doc: GetOwnedMonitorStackDepthInfo has a typo in monitor_info_ptr parameter description
A typo in the parameter spelling, a bound update missed when the parameter was renamed

Reviewed-by: sla, minqi
2013-06-14 15:17:10 -07:00
Daniel D. Daugherty
967597d82f Merge 2013-06-14 08:00:35 -07:00
Ron Durbin
be6e745755 7178026: os::close can restart ::close but that is not a restartable syscall
Removed restart macros from all os:close calls on Solaris, Linux, MacOS X platforms.

Reviewed-by: dcubed, dholmes
2013-06-14 07:46:22 -07:00
Zhengyu Gu
657439bdf4 Merge 2013-06-14 07:39:19 -07:00
Zhengyu Gu
9bad8e4125 Merge 2013-06-14 07:30:10 -07:00
Zhengyu Gu
737454c744 8011968: Kitchensink crashed with SIGSEGV in MemBaseline::baseline
Simple fix to add NULL pointer check that can cause segv

Reviewed-by: coleenp, ctornqvi
2013-06-14 09:18:42 -04:00
Christian Tornqvist
3728ac7c05 Merge 2013-06-14 13:11:58 +02:00
Calvin Cheung
53448fdbed 8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Mikhailo Seledtsov
e1219b994d 8015324: Create tests for CDS feature
Wrote tests for use of CDS with ObjectAlignmentInBytes CL option

Reviewed-by: coleenp, ctornqvi, hseigel
2013-06-13 22:00:06 +02:00
Christian Tornqvist
e72f763439 8016065: Write regression test for 7167142
Regression tests written for both test cases (.hotspotrc and .hotspot_compiler). Also reviewed by mikhailo.seledtsov@oracle.com

Reviewed-by: zgu, coleenp
2013-06-13 21:57:56 +02:00
Daniel D. Daugherty
72a51a0c44 8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint
Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory(). Add os::commit_memory_or_exit(). Also tidy up some NMT accounting and some mmap() return value checking.

Reviewed-by: zgu, stefank, dholmes, dsamersoff
2013-06-13 11:16:38 -07:00
Staffan Larsen
718f3252f6 8005849: JEP 167: Event-Based JVM Tracing
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Alejandro Murillo
6b2c468c35 8016078: new hotspot build - hs25-b37
Reviewed-by: jcoomes
2013-06-07 09:33:01 -07:00
Alejandro Murillo
8030137fd5 Added tag hs25-b36 for changeset 0403dabe9186 2013-06-07 09:25:19 -07:00
Alejandro Murillo
d43d80543c Merge 2013-06-07 09:25:18 -07:00
Vladimir Kozlov
e62cfbfd5f Merge 2013-06-06 11:02:25 -07:00
David Katleman
7c89126c98 Added tag jdk8-b93 for changeset 2b7343cbcbbf 2013-06-06 09:54:16 -07:00
Albert Noll
aa61dce719 8014246: remove assert to catch access to object headers in index_oop_from_field_offset_long
Reviewed-by: twisti, jrose
2013-06-06 09:29:38 -07:00
Daniel D. Daugherty
7771d30db3 Merge 2013-06-06 05:56:33 -07:00
Gerard Ziemski
2fad2249a2 8009302: Mac OS X: JVM crash on infinite recursion on Appkit Thread
Use SA_ONSTACK flag to ensure signal gets delivered properly.

Reviewed-by: dholmes, coleenp
2013-06-05 14:12:49 -04:00
Nils Loodin
b46e7f76d5 Merge 2013-06-05 09:47:27 -07:00
Volker Simonis
9fbd8582b4 8015252: Enable HotSpot build with Clang
Reviewed-by: twisti, dholmes, kvn
2013-06-04 22:16:15 -07:00
Daniel D. Daugherty
f3fb3c4777 8010257: remove unused thread-local variables _ScratchA and _ScratchB
Remove dead code.

Reviewed-by: twisti, coleenp
2013-06-04 19:39:21 -07:00
John Cuthbertson
e8c0cab6ac Merge 2013-06-04 14:00:16 -07:00
Morris Meyer
a28a9d6551 8010724: [parfait] Null pointer dereference in hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
Added guarantee()

Reviewed-by: kvn
2013-06-04 12:06:54 -07:00
John Cuthbertson
c3d6abc4e1 8015244: G1: Verification after a full GC is incorrectly placed
In a full GC, move the verification after the GC to after RSet rebuilding. Verify RSet entries during a full GC under control of a flag.

Reviewed-by: tschatzl, brutisso
2013-06-04 10:04:06 -07:00
Serguei Spitsyn
e609456b0e 8015803: Test8015436.java fails 'can not access a member of class Test8015436 with modifiers "public static"'
Newly added test has an issue: the main class must be public

Reviewed-by: kvn, jbachorik, coleenp
2013-06-04 01:06:50 -07:00
Tao Mao
07ed2c141f 6976350: G1: deal with fragmentation while copying objects during GC
Create G1ParGCAllocBufferContainer to contain two buffers instead of previously using one buffer, in order to hold the first priority buffer longer. Thus, when some large objects hits the value of free space left in the first priority buffer it has an alternative to fit in the second priority buffer while the first priority buffer is given more chances to try allocating smaller objects. Overall, it will improve heap space efficiency.

Reviewed-by: johnc, jmasa, brutisso
2013-06-03 14:37:13 -07:00
Serguei Spitsyn
6d485348e1 8014052: JSR292: assert(end_offset == next_offset) failed: matched ending
A call to the finalize_operands_merge() must be unconditional

Reviewed-by: kvn, twisti
2013-06-03 14:28:37 -07:00
Vladimir Kozlov
56e8f83652 Merge 2013-06-03 14:02:05 -07:00
Niclas Adlertz
f4682b75e5 8005956: C2: assert(!def_outside->member(r)) failed: Use of external LRG overlaps the same LRG defined in this block
Disable re-materialization of reaching definitions (which have live inputs) for phi nodes when spilling.

Reviewed-by: twisti, kvn
2013-06-03 12:39:33 -07:00