Commit Graph

6982 Commits

Author SHA1 Message Date
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
Albert Noll
6292295da2 Merge 2014-08-05 07:37:10 +00:00
Zoltan Majo
023c23b23c 8054013: run hotspot JTREG compiler tests only on fastdebug platforms and also on macosx
Modify hotspot/make/jprt.properties and make/jprt.properties on the top level to add/remove the relevant platforms.

Reviewed-by: kvn, roland
2014-08-05 09:07:16 +02:00
Igor Ignatyev
0521e7ed8f 8051484: Test compiler/6932496/Test6932496.java failed to compile after JDK-8011044: 1.5 is no longer supported
Reviewed-by: kvn, roland
2014-08-03 12:04:36 +04:00
Igor Ignatyev
ebcdde4222 8051896: jtreg tests don't use $TESTJAVAOPTS
Reviewed-by: kvn, ctornqvi
2014-08-03 12:04:17 +04:00
Roland Westrelin
a2d18a0238 8057038: Speculative traps not robust when compilation and class unloading are concurrent
Speculative traps can be removed from MDO while being copied by compiler

Reviewed-by: kvn, iveresov
2014-08-02 06:15:23 +02:00
Filipp Zhinkin
dc2c903e43 8055904: Develop tests for new command-line options related to SHA intrinsics
Reviewed-by: kvn, iignatyev
2014-09-03 15:29:57 +04:00
Filipp Zhinkin
8381452775 8055903: Develop sanity tests on SPARC's SHA instructions support
Reviewed-by: kvn, iignatyev
2014-09-03 15:26:06 +04:00
Filipp Zhinkin
9f825ac4cb 8056091: Move compiler/intrinsics/mathexact/sanity/Verifier to compiler/testlibrary and extend its functionality
Reviewed-by: kvn, iignatyev
2014-09-03 15:24:26 +04:00
Roland Westrelin
9369af8c06 8055946: assert(result == NULL || result->is_oop()) failed: must be oop
Caller of popped frame doesn't have valid result during deoptimization

Reviewed-by: kvn
2014-08-27 17:37:18 +02:00
Roland Westrelin
fa27000f3c 8055910: closed/java/util/Collections/CheckedCollections.java failed with ClassCastException not thrown
Missing subtype check for Arrays.copyOf intrinsic

Reviewed-by: kvn, iveresov
2014-08-29 16:32:29 +02:00
Vladimir Kozlov
b9e949183d 8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
Add new C2 intrinsic for BigInteger::multiplyToLen() on x86 in 64-bit VM.

Reviewed-by: roland
2014-09-02 12:48:45 -07:00
Vladimir Kozlov
8b93fb04cd 8056964: JDK-8055286 changes are incomplete
Added ccstr and ccstrlist types to compilerOracle 'option' command

Reviewed-by: roland
2014-09-02 10:26:48 -07:00
David Chase
4c9f643e10 8054292: code comments leak in fastdebug builds
Added deallocation to destructor; hardened interface against misuse

Reviewed-by: kvn
2014-08-29 19:45:49 -04:00
Tobias Hartmann
3eb44b3955 Merge 2014-08-29 13:46:50 +00:00
Zoltan Majo
fbab0fe16e 8055286: Extend CompileCommand=option to handle numeric parameters
Changed CompileCommand=option to handle "extended" parameters: Klass::method,type,flag,value. Types supported are bool, intx, and uintx.

Reviewed-by: kvn, roland
2014-08-29 15:32:16 +02:00
Tobias Hartmann
79be04020a 8056067: NodeHash debug variables are available in product build
Make NodeHash debug variables only available in debug/optimized build.

Reviewed-by: kvn, roland
2014-08-29 14:46:35 +02:00
Igor Ignatyev
da8d847087 8056223: typo in export_optimized_jdk
Reviewed-by: kvn
2014-08-28 23:30:13 +04:00
Serguei Spitsyn
7b1571089e Merge 2014-08-01 19:03:26 -07:00
Serguei Spitsyn
3dec185794 7187999: dtrace jstack action is broken
Separate jhelper.d and hotspot provider (other USDT probes)

Reviewed-by: dholmes, dsamersoff
2014-08-01 16:33:46 -07:00
Roland Westrelin
2588547f41 Merge 2014-08-01 15:57:00 -07:00
Jon Masamitsu
5f2c33e42b 8031323: Optionally align objects copied to survivor spaces
Reviewed-by: brutisso, tschatzl
2014-08-01 15:40:12 -07:00
Tim Bell
a33df03f53 Added tag jdk9-b25 for changeset 938af06a9f70 2014-08-01 14:09:09 -07:00
Jon Masamitsu
e9553ff4bf Merge 2014-07-31 16:39:57 -07:00
Christian Tornqvist
71d23aa793 8053956: [TESTBUG] Remove @ignore tag from fixed runtime issues
Removed ignore tags from already fixed tests

Reviewed-by: gtriantafill, dcubed
2014-07-31 11:56:59 -07:00
Roland Westrelin
e546e2a060 8054054: 8040121 is broken
C++ code pattern from 8040121 is incorrect

Reviewed-by: kvn
2014-07-31 19:59:36 +02:00
Thomas Schatzl
a959c0971e 8051973: Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap
Eager reclaim also needs to clear marks of eagerly reclaimed regions if they have already been marked during concurrent mark.

Reviewed-by: jmasa
2014-07-31 09:23:24 +02:00
Tobias Hartmann
e3073f2e53 8053915: bigapps assert failure in C2: modified node is not on IGVN._worklist
Add modified node to the IGVN worklist in 'PhaseIdealLoop::do_range_check'.

Reviewed-by: kvn, roland
2014-07-31 08:39:47 +02:00
Tobias Hartmann
efc7daaf82 8054081: Crashes with assert "modified node is not on IGVN._worklist"
Modified safepoint nodes are not added to the IGVN worklist by 'PhaseMacroExpand::scalar_replacement()'

Reviewed-by: kvn, roland
2014-08-05 08:25:10 +02:00
Coleen Phillimore
d230f0b4fd 8051398: jvmti tests fieldacc002, fieldmod002 fail in nightly with errors: (watch#0) wrong location
Didn't handle NULL bcp for native methods

Reviewed-by: dcubed, sspitsyn
2014-07-31 00:50:55 +00:00
Serguei Spitsyn
73cc0f6b76 Merge 2014-07-30 15:14:49 -07:00
Lana Steuck
8678a25ccf Merge 2014-07-30 11:49:41 -07:00
Vladimir Kozlov
7a9fc5ff21 Merge 2014-07-29 21:28:09 +00:00
Vladimir Kozlov
4e83db432d 8049252: VerifyStack logic in Deoptimization::unpack_frames does not expect to see invoke bc at the top frame during normal deoptimization
Add missing check for reexecute flag to VerifyStack code.

Reviewed-by: roland
2014-07-29 13:40:58 -07:00
Tobias Hartmann
c36b77bbfd 8049043: Load variable through a pointer of an incompatible type in hotspot/src/share/vm/runtime/sharedRuntimeMath.hpp
Fixed parfait warnings caused by __HI and __LO macros in sharedRuntimeMath.hpp by using a union.

Reviewed-by: kvn, drchase
2014-07-29 13:56:29 +02:00
Tobias Hartmann
d2a5b70cdf 8040121: Load variable through a pointer of an incompatible type in src/hotspot/src/share/vm: opto/output.cpp, runtime/sharedRuntimeTrans.cpp, utilities/globalDefinitions_visCPP.hpp
Fixed parfait warnings in globalDefinitions files by using a union for casts.

Reviewed-by: kvn
2014-07-29 13:54:16 +02:00
Martin Doerr
071c3a3924 8050973: CMS/G1 GC: add missing Resource and Handle mark
Add Resource/HandleMark in the work() method of some AbstractGangTask to reclaim these resources earlier.

Reviewed-by: tschatzl, goetz
2014-07-29 10:26:09 +02:00
Filipp Zhinkin
e8d1955b5e 8051344: JVM crashed in Compile::start() during method parsing w/ UseRTMDeopt turned on
Call rtm_deopt() only if there were no compilation bailouts before.

Reviewed-by: kvn
2014-07-28 15:06:38 -07:00
Dmitry Samersoff
037f9fdccf 8049046: Deprecated Function in hotspot/src/os/solaris/vm/attachListener_solaris.cpp
Replace door_cred with door_ucred call

Reviewed-by: dholmes, sspitsyn
2014-07-28 07:31:17 -07:00
Tim Bell
5550d93edd Added tag jdk9-b24 for changeset d6c0b1381379 2014-07-25 15:38:08 -07:00
Jon Masamitsu
7774fe7ed1 Merge 2014-07-24 15:06:36 -07:00
Alejandro Murillo
2c30bd9104 Merge 2014-07-24 13:18:15 -07:00
Rickard Bäckman
84271f1c96 Merge 2014-07-24 14:38:26 +02:00
Jon Masamitsu
e242f23105 Merge 2014-07-23 14:06:28 -07:00
Thomas Schatzl
f161bd6d16 8027959: Early reclamation of large objects in G1
Try to reclaim humongous objects at every young collection after doing a conservative estimate of its liveness.

Reviewed-by: brutisso, mgerdin
2014-07-23 09:03:32 +02:00
Lana Steuck
14cfe75c89 Merge 2014-07-22 11:56:22 -07:00
Poonam Bajaj
5d40917272 8049881: jstack not working on core files
Access _trace_id field of Klass in try-catch block

Reviewed-by: dholmes, dsamersoff, mgronlun
2014-07-22 06:34:42 -07:00
Zhengyu Gu
5b85e36189 Merge 2014-07-21 09:48:38 -04:00
Zhengyu Gu
944d684ea8 8050167: linux-sparcv9: hs_err file does not show any stack information
Fixed creation of starting stack frame for stack walking in error handler

Reviewed-by: coleenp, mikael
2014-07-21 06:00:44 -07:00
Kevin Walls
ce12891a06 Merge 2014-07-21 10:42:20 +00:00
Kevin Walls
ae2cb9b6e3 8049684: pstack crashes on java core dump
Reviewed-by: sundar, sspitsyn
2014-07-21 10:40:50 +01:00
Thomas Schatzl
bc56e061ec 8048112: G1 Full GC needs to support the case when the very first region is not available
Refactor preparation for compaction during Full GC so that it lazily initializes the first compaction point. This also avoids problems later when the first region may not be committed. Also reviewed by K. Barrett.

Reviewed-by: brutisso
2014-07-21 10:00:31 +02:00
Thomas Schatzl
ce1a131e47 8048088: Conservative maximum heap alignment should take vm_allocation_granularity into account
Also consider os::vm_allocation_granularity in the calculation.

Reviewed-by: brutisso
2014-07-21 09:59:54 +02:00
Thomas Schatzl
2e37a94622 8048085: Aborting marking just before remark results in useless additional clearing of the next mark bitmap
Skip clearing the next bitmap if we just recently aborted since the full GC already clears this bitmap.

Reviewed-by: brutisso
2014-07-21 09:59:46 +02:00
Thomas Schatzl
1ad5cdb4a4 8049051: Use of during_initial_mark_pause() in G1CollectorPolicy::record_collection_pause_end() prevents use of seperate object copy time prediction during marking
Replaced use of during_initial_mark_pause() with the variable last_pause_included_initial_mark that holds the real old value of _during_initial_mark_pause.

Reviewed-by: brutisso, ehelin
2014-07-21 09:59:37 +02:00
Serguei Spitsyn
b0367c3bea Merge 2014-07-18 23:53:59 -07:00
Jon Masamitsu
2d63b52aa7 Merge 2014-07-18 15:42:20 -07:00
Alejandro Murillo
f4aa8d51a5 Merge 2014-07-18 12:02:54 -07:00
Zhengyu Gu
039e3d7ccc 8050165: linux-sparcv9: NMT detail causes assert((intptr_t*)younger_sp[FP->sp_offset_in_saved_window()] == (intptr_t*)((intptr_t)sp - STACK_BIAS)) failed: younger_sp must be valid
Fixed native memory tracking stack walking

Reviewed-by: coleenp, mikael
2014-07-18 11:14:20 -07:00
Volker Simonis
66b93558ed 8051378: AIX: Change "8030763: Validate global memory allocation" breaks the HotSpot build
Reviewed-by: kvn
2014-07-18 19:56:02 +02:00
Lana Steuck
654d4735c4 Merge 2014-07-18 08:25:40 -07:00
Coleen Phillimore
e051932425 Merge 2014-07-18 11:22:49 -04:00
Rickard Bäckman
eefe77eaff Merge 2014-07-18 10:41:05 +02:00
Andreas Schoesser
cabec1ca5e 8050978: Fix bad field access check in C1 and C2
JCK8 test vm/constantpool/accessControl/accessControl004/accessControl00402m3/accessControl00402m3.html fails with -Xbatch -Xcomp due to bad field access check in C1 and C2. Fix: In ciField::ciField(), just before the canonical holder is stored into the _holder variable (and which is used by ciField::will_link()) perform an additional access check with the holder declared in the class file. If this check fails, store the declared holder instead and ciField::will_link() will bail out compilation for this field later on. Then, the interpreter will throw an PrivilegedAccessException at runtime.

Reviewed-by: kvn, vlivanov
2014-07-18 09:04:01 +02:00
Tobias Hartmann
1caa674424 8051550: Printing of 'cmpN_reg_branch_short' instruction shows wrong 'op2' register
Missing '$' added to the format string of the 'cmpN_reg_branch_short' instruction (sparc.ad).

Reviewed-by: kvn, iveresov
2014-07-23 07:53:24 +02:00
Alexander Smundak
f8d5d704ae 8050942: PPC64: implement template interpreter for ppc64le
Reviewed-by: kvn, goetz
2014-07-17 15:40:04 -07:00
Albert Noll
0f4091ddaf Merge 2014-07-25 10:57:57 +00:00
Albert Noll
e4e0c214ff Merge 2014-07-25 10:04:36 +00:00
Albert Noll
cf7a398eea Merge 2014-07-25 09:44:53 +00:00
Tobias Hartmann
11eb4553c9 8040213: C2 does not put all modified nodes on IGVN worklist
Verification code is added that checks if modified nodes are put on the IGVN worklist and modified nodes are processed by 'PhaseIterGVN::transform_old()'

Reviewed-by: kvn, jrose
2014-07-25 10:06:17 +02:00
Zoltan Majo
1d44fa46f0 8050860: Cleanup TypeTuple and TypeFunc
Declared fields TypeFunc::_domain, TypeFunc::_range, TypeTuple::_cnt and TypeTuple::_fields private, changed direct accesses to fields to use accessor methods.

Reviewed-by: kvn, vlivanov
2014-07-24 09:15:38 +02:00
Coleen Phillimore
3f0a945468 8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
Remove bcx and mdx handling.  We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.

Reviewed-by: mgerdin, kvn
2014-07-17 15:45:46 -04:00
David Katleman
1cf94af67c Added tag jdk9-b23 for changeset dce1ebc0a015 2014-07-17 09:50:15 -07:00
Volker Simonis
c17cd0d39f 8050228: Rename 'rem_size' in compactibleFreeListSpace.cpp because of name clashes on AIX
Reviewed-by: dholmes, jmasa
2014-07-17 11:32:09 +02:00
Martin Doerr
1439e307db 8050972: Concurrency problem in PcDesc cache
The entries of the PcDesc cache in nmethods are not declared as volatile, but they are accessed and modified by several threads concurrently.

Reviewed-by: kvn, dholmes, dcubed
2014-07-17 10:21:31 +02:00
Zoltan Majo
33058abb3f 8051303: 'optimized' build broken by JDK-8039425
Changed preprocessor directive in PhaseIterGVN::optimize()

Reviewed-by: kvn, anoll
2014-07-21 10:25:58 +02:00
Igor Ignatyev
726b299ae0 Merge 2014-07-19 13:43:02 +04:00
Igor Ignatyev
d6a4f1737d 8031978: compiler/ciReplay/TestVM_no_comp_level.sh fails with "TEST [CHECK :: REPLAY DATA GENERATION] FAILED:
Reviewed-by: kvn
2014-07-19 00:34:40 +04:00