Commit Graph

7051 Commits

Author SHA1 Message Date
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
Igor Ignatyev
e6b1dd586f 8032449: Get rid of JMX in test/compiler
Reviewed-by: kvn
2014-07-19 00:34:20 +04:00
Anton Ivanov
4f7af5c597 8049348: compiler/intrinsics/bmi/verifycode tests on lzcnt and tzcnt use incorrect assumption about REXB prefix usage
Reviewed-by: kvn
2014-07-19 00:33:37 +04:00
Filipp Zhinkin
1f29a205e2 6848902: [TESTBUG] The compiler/6589834/Test_ia32.java timed out
Reviewed-by: kvn, iignatyev
2014-07-19 00:32:23 +04:00
Filipp Zhinkin
057a0edf66 8050144: Remove '-client' from compiler/8004051/Test8004051.java's options
Reviewed-by: kvn
2014-07-19 00:30:54 +04:00
Pavel Punegov
66ce40ebe8 8048882: Some regression tests are not robust with VM output
Reviewed-by: kvn, iignatyev
2014-07-19 00:29:20 +04:00
Serguei Spitsyn
9048d50c9e Merge 2014-07-16 15:59:46 -07:00
Mikael Vidstedt
79eab12bba 8050802: Update jprt runthese test suite to jck-8
Reviewed-by: dholmes, kvn
2014-07-16 15:04:36 -07:00
Volker Simonis
f5ff5bab8e 8049441: PPC64: Don't use StubCodeMarks for zero-length stubs
Remove StubCodeMark in generate_icache_flush, generate_verify_oop, generate_throw_exception

Reviewed-by: dcubed, sspitsyn
2014-07-15 21:28:51 -07:00
Daniel D. Daugherty
a06d36cada 8049717: expose L1_data_cache_line_size for diagnostic/sanity checks
Add support for VM_Version::L1_data_cache_line_size().

Reviewed-by: dsimms, kvn, dholmes
2014-07-15 07:33:49 -07:00
David Holmes
a36ef5533f Merge 2014-07-14 21:48:47 +00:00
Coleen Phillimore
c9b2bc62c9 Merge 2014-07-14 10:15:21 -04:00
Vladimir Ivanov
db4aa1aa54 8048703: ReplacedNodes dumps it's content to tty
Reviewed-by: roland, iveresov, drchase
2014-07-14 03:29:42 -07:00
Vladimir Ivanov
c24909197f 8049532: LogCompilation: C1: inlining tree is flat (no depth is stored)
Reviewed-by: roland, iveresov
2014-07-14 03:28:13 -07:00
Vladimir Ivanov
c51f489786 8049529: LogCompilation: annotate make_not_compilable with compilation level
Reviewed-by: roland, iveresov
2014-07-14 03:27:21 -07:00
Vladimir Ivanov
9b8aaef575 8049530: Provide descriptive failure reason for compilation tasks removed for the queue
Reviewed-by: roland, iveresov
2014-07-14 03:26:52 -07:00
Vladimir Ivanov
3dd313825d 8043546: C1 optimizes @Stable instance fields with default values
Reviewed-by: kvn, jrose
2014-07-14 03:25:40 -07:00
Vladimir Ivanov
34bf429064 8049528: Method marked w/ @ForceInline isn't inlined with "executed < MinInliningThreshold times" message
Reviewed-by: roland, jrose
2014-07-14 03:24:35 -07:00
Mike Duigou
412ab83d95 8046765: makefiles should use parameterized $(CP) and $(MV) rather than explicit commands
Reviewed-by: kvn, dholmes
2014-07-14 18:24:08 +00:00
Volker Simonis
a79ea5527c 8049715: PPC64: First steps to enable SA on Linux/PPC64
Reviewed-by: dholmes, kvn
2014-07-14 11:41:20 +02:00
Harold Seigel
0cc38ff4d5 8043454: Test case for 8037157 should not throw a VerifyError
Don't throw VerifyError if method is NULL.

Reviewed-by: acorn, lfoltan, mschoene
2014-07-14 13:31:03 +04:00
David Simms
e5b71580fb 8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
Increase the previous limit from 4k to 64k, added "-XX:MaxJNILocalCapacity=<capacity>" flag

Reviewed-by: hseigel, fparain
2014-07-14 10:52:52 +02:00
David Simms
23b30dee7e 8046668: Excessive checked JNI warnings from Java startup
Removed pedantic checked exception warnings for AIOOBException, add to current handle capacity

Reviewed-by: hseigel, lfoltan
2014-07-14 10:50:20 +02:00
David Chase
783c330477 Merge 2014-07-11 23:54:16 +00:00
David Chase
1379a7f2f0 8036588: VerifyFieldClosure fails instanceKlass:3133
Changed deopt live-pointer test to use returns-object instead of live-and-returns-object

Reviewed-by: iveresov, kvn, jrose
2014-07-11 19:51:36 -04:00
Vladimir Kozlov
009f0fb913 Merge 2014-07-11 14:32:02 -07:00
Mikael Vidstedt
579ab5fdd4 8049071: Add jtreg jobs to JPRT for hotspot
Reviewed-by: dholmes, iveresov
2014-07-11 13:49:15 -07:00
Serguei Spitsyn
206c37a5e6 Merge 2014-07-12 01:26:13 -07:00
Jon Masamitsu
5de58bc127 Merge 2014-07-11 11:14:40 -07:00
Alejandro Murillo
5323c1c179 Merge 2014-07-11 09:14:21 -07:00
Jon Masamitsu
2506e35cc0 Merge 2014-07-11 05:59:08 -07:00
Roland Westrelin
471e47dddf Merge 2014-07-11 02:34:11 -07:00
Stefan Karlsson
a5b4cec253 8049831: Metadata Full GCs are not triggered when CMSClassUnloadingEnabled is turned off
Reviewed-by: brutisso, tschatzl, ehelin, jmasa, dfazunen
2014-07-11 09:07:23 +02:00
Serguei Spitsyn
36d6bfea4e 8013942: JSR 292: assert(type() == T_OBJECT) failed: type check
A dead scope  of the local needs to be identified

Reviewed-by: coleenp, vlivanov, mgronlun
2014-07-10 17:46:35 -07:00
Jon Masamitsu
fbe6d80096 Merge 2014-07-10 13:39:18 -07:00
Lana Steuck
934fec06be Merge 2014-07-10 12:40:03 -07:00
David Katleman
2cc2e0ca43 Added tag jdk9-b22 for changeset 6702f17e734e 2014-07-10 12:13:09 -07:00
Daniel D. Daugherty
4c156aa18c 8049104: resolve atomic.hpp wording issues from JDK-8047104 code review
Reviewed-by: dholmes, dice, rdurbin, acorn
2014-07-10 08:15:30 -07:00
Roland Westrelin
c0deb9e08a 8040237: nsk/jvmti/RetransformClasses/retransform001 crashed the VM on all platforms when run with with -server -Xcomp
Class redefinition may cause speculative trap clean up code to dereference dead method

Reviewed-by: kvn, coleenp
2014-07-10 15:12:48 +02:00
Coleen Phillimore
06cea98803 8048933: -XX:+TraceExceptions output should include the message
Add the exception detail message to the tracing output

Reviewed-by: minqi, dholmes
2014-07-09 22:37:48 -04:00
Mike Duigou
f312adb9c5 8047734: Backout use of -Og
Reviewed-by: iveresov
2014-07-09 21:56:16 +00:00
Lana Steuck
c5f7120cc6 Merge 2014-07-09 10:42:04 -07:00
Erik Helin
b77bc85799 8049426: Minor cleanups after G1 class unloading
Reviewed-by: stefank, brutisso
2014-07-09 16:44:30 +02:00
Roland Westrelin
a03d25366a Merge 2014-07-09 02:50:46 -07:00
Lois Foltan
440ffd13d6 8048128: Fix for Solaris Studio C++ 5.13, CHECK_UNHANDLED_OOPS breaks PPC build
Changes to successfully compile class oop within oops/oopsHierarchy.hpp for PPC build (with gcc 4.1.2).

Reviewed-by: dholmes, hseigel
2014-07-08 13:52:29 -04:00
Frederic Parain
5a8cc5f33d 8047714: Fix for JDK-6546236 made Solaris os::yield() a no-op
Reviewed-by: hseigel, lfoltan
2014-07-08 08:04:06 -07:00
Joe Darcy
4f7e4160a0 8048620: Remove unneeded/obsolete -source/-target options in hotspot tests
Reviewed-by: dholmes, hseigel
2014-07-07 12:08:07 -04:00
Stefan Karlsson
1b001a2afd 8049421: G1 Class Unloading after completing a concurrent mark cycle
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
ef1e9b3c80 8049420: Backout 8048248 to correct attribution
Reviewed-by: ehelin, brutisso
2014-07-07 12:37:11 +02:00
Stefan Karlsson
8c3aced316 8048248: G1 Class Unloading after completing a concurrent mark cycle
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
2014-07-07 10:12:40 +02:00
Stefan Karlsson
b0138be158 8049411: Minimal VM build broken after gcId.cpp was added
Reviewed-by: brutisso, ehelin, tschatzl, dholmes
2014-07-07 10:18:33 +02:00
Markus Grönlund
95d07208f7 8049324: interpretedVFrame::expressions to index oopmap correctly
Reviewed-by: sspitsyn, coleenp
2014-07-05 20:05:29 +02:00
Goetz Lindenmaier
25f33c005d 8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
Introduce and clean up umbrella headers for the files in the cpu subdirectories.

Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Daniel D. Daugherty
068ede1458 Merge 2014-07-03 16:55:57 -07:00
Alejandro Murillo
a69cf10e06 Merge 2014-07-03 13:17:29 -07:00
Markus Grönlund
034751cd14 8039905: heapdump/OnOOMToFile and heapdump/OnOOMToPath fail with "assert(fr().interpreter_frame_expression_stack_size() >= length) failed: error in expression stack!"
Reviewed-by: coleenp, sspitsyn
2014-07-03 21:37:31 +02:00
David Katleman
73ca4dab49 Added tag jdk9-b21 for changeset 783e13910e74 2014-07-03 11:36:49 -07:00
Daniel D. Daugherty
2876714328 8047104: cleanup misc issues prior to Contended Locking reorder and cache
Checkpoint misc cleanups for Contended Locking prior to first optimization bucket.

Reviewed-by: dholmes, sspitsyn, dice
2014-07-03 11:07:51 -07:00
Roland Westrelin
b5b9945659 Merge 2014-07-03 09:41:29 -07:00
Mikael Vidstedt
a145a396fc 8046818: Hotspot build system looking for sdt.h in the wrong place
Reviewed-by: sla, dholmes
2014-07-03 09:16:56 -07:00
Harold Seigel
08e90ebfcb 8026894: Improve VerifyError message about overriding a final method
Add full class name to error message.

Reviewed-by: fparain, zgu, lfoltan
2014-07-03 10:25:42 -04:00
Serguei Spitsyn
43c4569404 Merge 2014-07-02 17:24:50 -07:00
Jon Masamitsu
dc19a9c4f8 Merge 2014-07-02 17:24:18 -07:00
Coleen Phillimore
6db67f9317 Merge 2014-07-02 20:20:45 -04:00
Daniel D. Daugherty
f9a3ac9f94 Merge 2014-07-02 20:56:54 +00:00
Volker Simonis
db7f1e428f 8048232: Fix for 8046471 breaks PPC64 build
Reviewed-by: mikael, dcubed
2014-07-02 13:50:16 -07:00
Coleen Phillimore
60ec6dfa0c 8047737: Move array component mirror to instance of java/lang/Class
Add field in java.lang.Class for componentType to simplify oop processing in JVM

Reviewed-by: fparain, twisti
2014-07-02 15:22:18 -04:00
Staffan Larsen
c689cebe98 Merge 2014-07-02 15:17:11 +02:00
Erik Helin
4aa97f918f Merge 2014-07-02 13:52:52 +02:00
Erik Helin
27fb967c28 Merge 2014-07-02 11:13:58 +02:00
Erik Helin
40e186ac67 8048895: Back out JDK-8027915
Reviewed-by: mgerdin, stefank
2014-07-02 11:05:10 +02:00
Lana Steuck
f29943e720 Merge 2014-07-01 14:26:52 -07:00
Igor Ignatyev
0231fb818f 8047996: Quarantine compiler/whitebox tests
Reviewed-by: vlivanov
2014-07-01 13:09:40 +04:00
Stefan Karlsson
2ef86bb65b 8047362: Add a version of CompiledIC_at that doesn't create a new RelocIterator
Reviewed-by: iveresov, mgerdin
2014-07-01 09:03:55 +02:00
Tobias Hartmann
d929c9ead8 8007987: ciConstantPoolCache::_keys should be array of 32bit int
The type of ciConstantPoolCache::_keys is changed to int which is sufficient to store the 2 byte constant pool indices.

Reviewed-by: twisti, coleenp
2014-07-01 09:02:45 +02:00
Staffan Larsen
a3765464cb 8047973: Quarantine compiler/ciReplay/*
Reviewed-by: vlivanov
2014-06-30 10:04:05 +02:00
Coleen Phillimore
bc6fafb55a 8048169: Change 8037816 breaks HS build on PPC64 and CPP-Interpreter platforms
Fix the matching of format string parameter types to the actual argument types for the PPC64 and CPP-Interpreter files in the same way as 8037816 already did it for all the other files

Reviewed-by: stefank, coleenp, dholmes
2014-06-30 14:58:52 -04:00
Tobias Hartmann
b4d4c8a392 8048003: test/compiler/8009761/Test8009761.java failed with: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
Compile m3 with C1 if C2 is not available.

Reviewed-by: twisti, anoll
2014-06-30 08:28:29 +02:00
Daniel D. Daugherty
8f73a84a15 8047720: Xprof hangs on Solaris
Update use of PeriodicTask_lock in WatcherThread::stop() to avoid safepoint deadlock.

Reviewed-by: mgronlun, coleenp
2014-06-27 14:00:50 -07:00
Daniel D. Daugherty
628b3c2c3a Merge 2014-06-27 08:11:49 -07:00
Markus Grönlund
95d24c7361 8047812: Ensure ClassLoaderDataGraph::classes_unloading_do only delivers klasses from CLDs with non-reclaimed class loader oops
Reviewed-by: coleenp, sspitsyn, ehelin
2014-06-27 13:33:36 +02:00
Jon Masamitsu
38aa661273 Merge 2014-06-26 18:55:29 -07:00
Christian Thalinger
4c565a7708 Merge 2014-06-26 16:53:35 -07:00
John Coomes
900ca33ab0 8034246: remove CMS and ParNew adaptive size policy code
Reviewed-by: tschatzl, jwilhelm, mgerdin
2014-06-26 13:30:43 -07:00
David Katleman
4199772c99 Added tag jdk9-b20 for changeset e9f01656f118 2014-06-26 12:51:26 -07:00
Igor Veresov
cbd8e24e34 Merge 2014-06-26 12:04:10 -07:00
Igor Veresov
147f6a0926 8048298: Clang needs to lower optimization level for some files
Optimization options need to be lowered for some files when using clang 5.0 and 5.1

Reviewed-by: twisti
2014-06-26 12:01:44 -07:00
Goetz Lindenmaier
f2051ed6fa 8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
Thomas Schatzl
aec070cb69 8040977: G1 crashes when run with -XX:-G1DeferredRSUpdate
When G1 is run with -XX:-G1DeferredRSUpdate, the VM crashes because of wrong initialization order of member variables. The change makes the initalization explicit, not relying on initialization order any more.

Reviewed-by: brutisso, mgerdin
2014-06-26 16:01:07 +02:00
Thomas Schatzl
b4e0c547b8 8035401: Fix visibility of G1ParScanThreadState members
After JDK-8035400 there were several opportunities to fix the visibility of several members of the G1ParScanThreadState class.

Reviewed-by: brutisso, mgerdin
2014-06-26 15:48:05 +02:00
Thomas Schatzl
0bd028231f 8035400: Move G1ParScanThreadState into its own files
Extract the G1ParScanThreadState class from G1CollectedHeap.?pp into its own files.

Reviewed-by: brutisso, mgerdin
2014-06-26 15:45:07 +02:00
Mikael Gerdin
1e1ef4f73f 8047818: G1 HeapRegions can no longer be ContiguousSpaces
Change parent of G1OffsetTableContigSpace to CompactibleSpace, reimplement missing functionality

Reviewed-by: stefank, jmasa, tschatzl
2014-06-26 11:36:58 +02:00
Mikael Gerdin
ebdab477c7 8048214: Linker error when compiling G1SATBCardTableModRefBS after include order changes
Reviewed-by: stefank, brutisso, tschatzl
2014-06-26 13:20:18 +02:00
Mikael Gerdin
83303777f7 8047821: G1 Does not use the save_marks functionality as intended
Rename save_marks to record_top_and_timestamp and remove som unused but related methods

Reviewed-by: stefank, ehelin
2014-06-26 10:00:00 +02:00
Jon Masamitsu
8dac1f1b8a Merge 2014-06-25 20:43:05 -07:00
Jon Masamitsu
0e622bfc55 Merge 2014-06-25 20:41:16 -07:00
Erik Gahlin
544a7f1e6d Merge 2014-06-25 22:12:25 +00:00
Christian Tornqvist
30b9c7d9cb 8048076: [TESTBUG] runtime/Unsafe/RangeCheck.java fails with -Xcomp
Compiler intrinsics doesn't have this assert, disabled the intrinsics to make sure we go through the VM

Reviewed-by: lfoltan, coleenp
2014-06-25 13:03:29 -07:00
Erik Gahlin
9fddfef33f 8046783: Add hidden field to methods for event based tracing
Reviewed-by: sla, mgronlun
2014-06-25 21:36:48 +02:00
Thomas Schatzl
cc98923725 Merge 2014-06-25 15:43:47 +00:00
Andrey Zakharov
4d4642117e 8026847: [TESTBUG] gc/g1/TestSummarizeRSetStats* tests launch 32bit jvm with UseCompressedOops
The test launched a 32 bit VM with UseCompressedOops enabled. This is not supported on 32 bit VMs, causing a test failure. Investigation showed that the use of this flag is not required at all, so simply remove it.

Reviewed-by: tschatzl, jwilhelm
2014-06-25 17:22:58 +02:00
Mikael Gerdin
cfa1c5e67c 8047820: G1 Block offset table does not need to support generic Space classes
Reviewed-by: tschatzl, stefank
2014-06-25 16:53:13 +02:00
Mikael Gerdin
5b7c529bb2 8047819: G1 HeapRegionDCTOC does not need to inherit ContiguousSpaceDCTOC
Reviewed-by: stefank, tschatzl
2014-06-25 10:55:10 +02:00
Tobias Hartmann
801975f4ca 8033332: missing types in TemplateInterpreterGenerator::generate_result_handler_for
Add missing case statements for T_LONG and T_VOID to generate_result_handler_for(..).

Reviewed-by: iveresov, anoll
2014-06-25 09:19:09 +02:00
Stefan Karlsson
c3148bb6cb 8047326: Consolidate all CompiledIC::CompiledIC implementations and move it to compiledIC.cpp
Reviewed-by: vlivanov, ehelin
2014-06-25 08:56:57 +02:00
Stefan Karlsson
24fcad36b4 8047323: Remove unused _copy_metadata_obj_cl in G1CopyingKeepAliveClosure
Reviewed-by: mgerdin, tschatzl
2014-06-25 08:28:01 +02:00
Alejandro Murillo
b531babf09 8043541: 'fastdebug' is printed twice in java -version
Reviewed-by: dholmes, dcubed, jcoomes
2014-06-24 12:27:51 -07:00
Stefan Karlsson
b549ffc364 8047373: Clean the ExceptionCache in one pass
Also-reviewed-by: kim.barrett@oracle.com

Reviewed-by: jmasa, jwilhelm
2014-06-24 17:09:48 +02:00
Stefan Karlsson
fd43773a10 8046670: Make CMS metadata aware closures applicable for other collectors
Reviewed-by: ehelin, mgerdin
2014-06-24 16:20:15 +02:00
Christian Tornqvist
33a0064f97 8047939: [TESTBUG] Rewrite test/runtime/8001071/Test8001071.sh
Rewrote the test in Java, limited the heap size to avoid time out issues on machines with a lot of memory

Reviewed-by: minqi, rdurbin, dcubed
2014-06-24 07:10:06 -07:00
Erik Helin
3eff7a8f64 8049864: TestParallelHeapSizeFlags fails with unexpected heap size
Reviewed-by: sjohanss, jmasa
2014-06-24 15:50:50 +02:00
Jesper Wilhelmsson
3e005941e7 Merge 2014-09-15 13:32:30 +00:00
Jesper Wilhelmsson
1cd9ffc931 Merge 2014-09-15 15:28:43 +02:00
Antonios Printezis
a2984b6c88 8057768: Make heap region region type in G1 HeapRegion explicit
Reviewed-by: brutisso, tschatzl
2014-09-15 12:19:31 +02:00
Erik Helin
1d4a5e9412 8049536: os::commit_memory on Solaris uses aligment_hint as page size
Reviewed-by: stefank, tschatzl
2014-09-15 10:57:22 +02:00
Andrey Zakharov
debb101f7b 8056237: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java fails due to OOM
Added respect for available memory. Renamed function names

Reviewed-by: jwilhelm, tschatzl
2014-09-11 14:21:24 +02:00
Andrey Zakharov
f494735340 8041946: CMM Testing: 8u40 an allocated humongous object at the end of the heap should not prevents shrinking the heap
New test added

Reviewed-by: jwilhelm, tschatzl
2014-09-11 14:21:13 +02:00
Mikael Gerdin
a2d9ba3fd6 8056039: Hotspot does not compile with clang 3.4 on Linux
Reviewed-by: brutisso, sla
2014-08-26 11:53:24 +02:00
Antonios Printezis
b9d46eee2c 8057799: Unnecessary NULL check in G1KeepAliveClosure
Reviewed-by: tschatzl, stefank
2014-09-10 11:55:33 +02:00
Erik Helin
4241d1c605 8027915: TestParallelHeapSizeFlags fails with unexpected heap size on sparcv9
Reviewed-by: jmasa, sjohanss
2014-06-24 15:50:50 +02:00
Poonam Bajaj
754a598a62 8046282: SA update
These changes add some definitions on the SA side and the supporting code on the hotspot side.

Reviewed-by: sundar, mgronlun
2014-06-24 02:19:59 -07:00
Tobias Hartmann
886066e697 8035328: closed/compiler/6595044/Main.java failed with timeout
Patch call sites of non-entrant methods to avoid re-resolving if method is still executed.

Reviewed-by: twisti, iveresov, roland, kvn
2014-06-24 08:12:30 +02:00
Christian Tornqvist
5cfb709349 8047878: [TESTBUG] runtime/memory/ReadFromNoaccessArea.java and runtime/memory/ReserveMemory.java time out on Solaris
Limited heap size to reduce size of core file generated

Reviewed-by: sla, coleenp, dcubed
2014-06-23 14:51:10 -07:00
Jon Masamitsu
633706fa4e Merge 2014-06-23 14:20:20 -07:00
Per Lidén
d0e17d1ff0 8046231: G1: Code root location ... from nmethod ... not in strong code roots for region
Reviewed-by: tschatzl, ehelin
2014-06-23 16:43:41 +02:00
Frederic Parain
5507f2b476 8043630: Method os::yield_all() should be removed
Reviewed-by: dholmes, dsimms
2014-06-23 06:58:26 -07:00
Rickard Bäckman
99ff96473e 8046289: compiler/6340864/TestLongVect.java timeout with
Reviewed-by: iveresov, vlivanov
2014-06-23 13:33:23 +02:00
Tobias Hartmann
fa6b220619 8022968: Some codecache allocation failures don't result in invoking the sweeper
Add calls to CompileBroker::handle_full_code_cache() or fail gracefully whenever allocation in the code cache fails.

Reviewed-by: iveresov, vlivanov
2014-07-03 08:46:44 +02:00
Roland Westrelin
b5e96ad985 8046542: [I.finalize() calls from methods compiled by C1 do not cause IllegalAccessError on Sparc
Call to Object.finalize() sometimes allowed by compilers on array type

Reviewed-by: iveresov, vlivanov
2014-07-02 22:54:18 +02:00
Albert Noll
707b1d16b4 Merge 2014-06-23 04:44:02 +00:00
Albert Noll
43d50245b7 8046286: assert: Do not add task if compilation is turned off forever
Remove the unnecessary and missleading assert

Reviewed-by: iveresov
2014-06-23 08:40:31 +02:00
Pavel Chistyakov
d9a2dbc73b 8044818: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java fails with RuntimeException 'sharing' found in stderr
Reviewed-by: hseigel, lfoltan, coleenp, dholmes
2014-06-22 21:23:32 -04:00
Igor Ignatyev
2c927266d9 Merge 2014-06-20 20:42:48 +00:00
Lev Priima
644042fe4a 8041794: remove bytecodes_<arch>.{cpp,hpp} files
Reviewed-by: dholmes, coleenp, twisti, iignatyev
2014-06-20 22:39:56 +04:00
Igor Veresov
6abe4955a6 8047321: Hotspot debug builds with clang are broken
Don't use -Og with clang

Reviewed-by: twisti
2014-06-20 11:25:08 -07:00
Alejandro Murillo
783e5fc120 Merge 2014-06-20 11:10:18 -07:00
Lana Steuck
d27d12c32a Merge 2014-06-20 10:15:08 -07:00
Albert Noll
1319cf1a68 8043158: Crash in CodeSweeperSweepNoFlushTest in CompileQueue::free_all()
Acquire lock before calling notify()

Reviewed-by: twisti, thartmann
2014-06-20 09:25:13 +02:00
Tobias Hartmann
2626aed785 8008321: compile.cpp verify_graph_edges uses bool as int
The dead_nodes counter in verify_graph_edges(..) has the type bool but is used as int.

Reviewed-by: roland, anoll
2014-06-20 08:14:30 +02:00
Christian Thalinger
dcafa9c646 Merge 2014-06-19 12:50:52 -07:00
David Katleman
25c674c420 Added tag jdk9-b19 for changeset 718694e51e25 2014-06-19 11:22:25 -07:00
Jon Masamitsu
049207e162 Merge 2014-06-19 09:44:12 -07:00
Daniel D. Daugherty
c1c9f333d5 8047156: cleanup more non-indent white space issues prior to Contended Locking cleanup bucket
Checkpoint some missed do_space_filter.ksh cleanups for Contended Locking.

Reviewed-by: sspitsyn, lfoltan, coleenp
2014-06-18 14:21:28 -07:00
Jon Masamitsu
ad2e593b80 Merge 2014-06-18 12:39:57 -07:00
Mikael Vidstedt
abce44ab84 8046471: Use OPENJDK_TARGET_CPU_ARCH instead of legacy value for hotspot ARCH
Reviewed-by: erikj, dholmes
2014-06-18 12:35:32 -07:00
Daniel D. Daugherty
fe70c75531 Merge 2014-06-20 20:37:57 +00:00
Daniel D. Daugherty
e9d1677098 Merge 2014-06-20 12:45:24 -07:00
Mikael Vidstedt
bc8c6370ea 8046611: Build errors with gcc on sparc/fastdebug
Reviewed-by: dholmes, ctornqvi
2014-06-20 11:19:22 -07:00
George Triantafillou
32cd848b56 8038074: [TESTBUG] Add test for anewarray instruction with more than 255 dimensions
Reviewed-by: lfoltan, coleenp
2014-06-20 10:12:02 -07:00
Coleen Phillimore
d8ce93cea5 6642881: Improve performance of Class.getClassLoader()
Add classLoader to java/lang/Class instance for fast access

Reviewed-by: alanb, lfoltan, rriggs, vlivanov, twisti, jfranck
2014-06-19 14:49:33 -04:00
Coleen Phillimore
243d697d71 8026977: NPG: Remove ConstantPool::lock
Write klass and resolved_references constant pool fields lock free.

Reviewed-by: jrose, twisti
2014-06-19 11:16:10 -04:00
Igor Veresov
d8ba26e6df Merge 2014-06-18 12:21:39 -07:00
Coleen Phillimore
cef2b3be11 8039150: host_klass invariant fails when verifying newly loaded JSR-292 anonymous classes
Initialize host_klass while parsing the class with the other initializations.

Reviewed-by: sspitsyn, stefank
2014-06-18 13:58:13 -04:00
Lana Steuck
c2b4294ddd Merge 2014-06-18 10:56:06 -07:00
Igor Veresov
7ae9df8697 8046684: sharedRuntime.cpp...assert(((nmethod*)cb)->is_at_poll_or_poll_return(pc)) failed: safepoint polling: type must be poll
Emit a poll relocation for the testl in is_polling_page_far() on x86

Reviewed-by: vlivanov, roland
2014-06-18 10:54:32 -07:00
Lana Steuck
e3a10c9d1d Merge 2014-06-18 10:08:52 -07:00
Jesper Wilhelmsson
5a516a9183 Merge 2014-06-18 13:02:33 +00:00
Dan Horak
88577971d0 8043722: Swapped usage of idx_t and bm_word_t types in parMarkBitMap.cpp
Clean up usage of idx_t and uintptr_t when using it in conjunction with BitMap::set_map(), casting to the appropriate type. Fixes compilation on S390.

Reviewed-by: tschatzl
2014-06-18 13:25:40 +02:00
David Dehaven
02f3dbb898 8043340: [macosx] Fix hard-wired paths to JavaVM.framework
Build system tweaks to allow building with Xcode 5 and on OS X 10.9 and later

Reviewed-by: erikj, henryjen, dholmes
2014-06-17 11:18:10 -07:00
Daniel D. Daugherty
7d153c461e 8046758: cleanup non-indent white space issues prior to Contended Locking cleanup bucket
Checkpoint do_space_filter.ksh cleanups for Contended Locking.

Reviewed-by: sspitsyn, coleenp
2014-06-17 12:54:01 -07:00
Mikael Vidstedt
da1c36533e 8046769: Set T family feature bit on Niagara systems
Reviewed-by: kvn, iveresov
2014-06-16 16:27:41 -07:00
Igor Ignatyev
1e5168fced 8044742: testlibrary_tests/whitebox/vm_flags/BooleanTest.java NoClassDefFoundError: com/oracle/java/testlibrary/JDKToolFinder
Reviewed-by: kvn, roland
2014-06-16 15:12:24 +04:00
Daniel D. Daugherty
57113f7d70 Merge 2014-06-13 19:07:11 -07:00
Kim Barrett
e5749d72fd 8046408: Build failure from multiple ptrace.h
Prefer <sys/ptrace.h> over <linux/ptrace.h>

Reviewed-by: sla, mikael
2014-06-13 17:07:39 -04:00
Alejandro Murillo
73c2edba05 Merge 2014-06-13 19:05:56 -07:00
Alejandro Murillo
f28e2feb9f Merge 2014-06-13 12:04:33 -07:00
David Katleman
15aea60438 Added tag jdk9-b18 for changeset f41278d32da8 2014-06-13 11:21:19 -07:00
Vladimir Kozlov
31d227f25d Merge 2014-06-13 10:21:30 -07:00
Dmitry Samersoff
92675f5272 8038392: Generating prelink cache breaks JAVA &#39;jinfo&#39; utility normal behaviour
Better parsing of /proc/pid/maps in sa

Reviewed-by: sspitsyn, sla
2014-06-13 05:10:44 -07:00
Per Lidén
5e1811cd0e 8044796: G1: Enable G1CollectedHeap::stop()
Reviewed-by: brutisso, sjohanss
2014-06-13 13:46:06 +02:00
Lana Steuck
45b1492148 Merge 2014-06-12 19:03:25 -07:00
Mike Duigou
ce91145032 8032045: Enable compiler and linker safety switches for debug builds
Enable GCC linker protections, runtime bounds checks and stack protection.

Reviewed-by: dholmes, kvn, coleenp
2014-06-12 16:31:07 -07:00
Daniel D. Daugherty
833620662c 8046287: [TESTBUG] runtime/Thread/TestThreadDumpMonitorContention.java failed error_cnt=12
Added a new header waiting pattern to catch the case where the target thread waiting on a condition (like a VM op); several other test improvements

Reviewed-by: sspitsyn, dholmes
2014-06-12 15:57:16 -07:00
Lana Steuck
2a348311f3 Merge 2014-06-12 15:36:49 -07:00
Tim Bell
76ed25c884 Merge 2014-06-12 18:42:33 +00:00
Jesper Wilhelmsson
17dd5faf6d 8046715: Add a way to verify an extended set of command line options
Added arguments_ext.cpp to make place for initialization of extended features

Reviewed-by: sla, mgronlun
2014-06-12 20:15:51 +02:00
Tim Bell
dea219c735 8046474: Source changes needed to build JDK 9 with new platforms and compilers on Solaris and Linux
Reviewed-by: erikj, dholmes
2014-06-12 18:09:29 +00:00
Lois Foltan
466ed1ae11 6961433: Revisit need to disable Windows C++ compiler optimisation of sharedRuntimeTrig.cpp
Remove pragma optimize ("", off) to turn off optimization for WIN32.

Reviewed-by: coleenp, dcubed, kvn
2014-06-12 13:37:53 -04:00
David Katleman
fc45bfbbb3 Added tag jdk9-b17 for changeset b14260e7f98f 2014-06-12 10:32:21 -07:00
Vladimir Kozlov
b571b4214a 8046516: Segmentation fault in JVM (easily reproducible)
Place new nodes on the previous loop exit in reorg_offsets().

Reviewed-by: roland
2014-06-12 10:15:43 -07:00
David Simms
ba00ce514e 8046662: Check JNI ReleaseStringChars / ReleaseStringUTFChars verify_guards test inverted
Negative verify_guards when testing for corruption

Reviewed-by: sla, fparain
2014-06-12 11:34:35 +02:00
James Cheng
395560c428 8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
Add C2 SHA intrinsics on SPARC

Reviewed-by: kvn, roland
2014-06-11 11:05:10 -07:00
David Simms
d9b63bdbdd 8043224: -Xcheck:jni improvements to exception checking and excessive local refs
Warning when not checking exceptions from function that require so, also when local refs expand beyond capacity.

Reviewed-by: zgu, coleenp, hseigel
2014-06-11 18:34:09 +02:00
Dmitry Fazunenko
f3cb0b79b8 8044673: Create jtreg groups to list GC specific tests
Reviewed-by: dholmes, iignatyev
2014-06-11 18:56:01 +04:00
Harold Seigel
b6a2f946f6 8031819: Remove legacy jdk checks and code
Delete old jdk specific code.

Reviewed-by: dholmes, coleenp, zgu, lfoltan
2014-06-11 09:58:23 -04:00
David Simms
6f97a45429 6311046: -Xcheck:jni should support checking of GetPrimitiveArrayCritical
Wrapped memory with standard bounds checking "GuardedMemory".

Reviewed-by: zgu, fparain, dcubed
2014-06-11 12:09:12 +02:00
Tobias Hartmann
83fc2acbd7 8044538: assert(which != imm_operand) failed: instruction is not a movq reg, imm64
Fixed internal_word_Relocation::target() to not retrieve target address from code if relocation points into the constant section. Added test.

Reviewed-by: kvn, twisti, dlong
2014-06-11 09:16:19 +02:00
Jon Masamitsu
dc694646b7 Merge 2014-06-10 20:46:28 -07:00
Daniel D. Daugherty
d5b7b9ffe3 Merge 2014-06-10 20:24:48 -07:00
Igor Ignatyev
01645fc449 Merge 2014-06-10 20:53:23 +00:00
Vladimir Kozlov
186728867b Merge 2014-06-10 12:57:50 -07:00
Vladimir Kozlov
56cea022c9 8035605: Expand functionality of PredictedIntrinsicGenerator
Allow several predicates and separate intrinsic methods per one intrinsified (virtual) method.

Reviewed-by: roland
2014-06-10 12:28:06 -07:00
Igor Ignatyev
dc14ad30ce 8044575: testlibrary_tests/whitebox/vm_flags/UintxTest.java failed: assert(!res || TypeEntriesAtCall::arguments_profiling_enabled()) failed: no profiling of arguments
Reviewed-by: kvn, jmasa
2014-06-10 23:18:25 +04:00
Harold Seigel
70c76ec8c4 8044738: Check attribute_length of EnclosingMethod attribute
Add check that attribute_length == 4.

Reviewed-by: fparain, coleenp, lfoltan
2014-06-10 14:04:37 -04:00
Roland Westrelin
2838bcc3bf 8026796: Make replace_in_map() on parent maps generic
Propagate node replacements along control flow edges to callers

Reviewed-by: kvn, vlivanov
2014-06-10 13:37:16 +02:00
Vladimir Ivanov
ea0470002e 8033626: assert(ex_map->jvms()->same_calls_as(_exceptions->jvms())) failed: all collected exceptions must come from the same place
Reviewed-by: kvn, roland
2014-06-10 10:00:59 +00:00
Tobias Hartmann
5067eae483 8033145: Runtime1::arraycopy_count_address uses wrong _oop_arraycopy_cnt variable
The method Runtime1::arraycopy_count_address(..) returns the address of Runtime::_oop_arraycopy_cnt instead of the the file static variable _oop_arraycopy_cnt.

Reviewed-by: roland, kvn, twisti
2014-06-10 08:53:22 +02:00
Vladimir Kozlov
0853423f46 8046275: Fastdebug build failing on jdk9/hs/ control jobs after pulling some hs-comp changes
Add missing check for Opaque nodes from loop predicates in clone_loop().

Reviewed-by: iveresov
2014-06-09 15:42:31 -07:00
Vladimir Ivanov
075ea25462 8046226: assert(_thread == Thread::current()) failed: thread must be current w/ -XX:+TraceDeoptimization -XX:+Verbose
Reviewed-by: twisti, dcubed, fparain
2014-06-09 11:49:02 +00:00
Staffan Larsen
1510b7c75e 8044797: Building with clang gives: fatal error: file '...' has been modified since the precompiled header was built
Reviewed-by: dholmes, dcubed
2014-06-09 11:03:09 +02:00
Nils Eliasson
cdd2105184 8040244: compiler/whitebox/IsMethodCompilableTest.java fails
Prevent from running with Xcomp

Reviewed-by: kvn, twisti
2014-06-09 10:32:49 +02:00
Alejandro Murillo
f05da48390 Merge 2014-06-06 13:31:55 -07:00
Vladimir Kozlov
655b317ad1 Merge 2014-06-06 11:37:23 -07:00
Alejandro Murillo
1b3f2fa737 Merge 2014-06-06 10:19:50 -07:00
Christian Tornqvist
71b76d4073 8043492: ad_x86_64_misc.obj : error LNK2011: precompiled object not linked in; image may not run
Added _build_pch_file.obj to LD_FLAGS and cleaned up support for older Visual Studio versions

Reviewed-by: twisti, lfoltan, sla, kvn
2014-06-06 14:46:42 +02:00
Lana Steuck
e89206f521 Merge 2014-06-05 19:39:08 -07:00
Jon Masamitsu
24d624d6cb Merge 2014-06-05 10:34:57 -07:00
Tobias Hartmann
aeff8925b3 8031389: On x86 C1 emits two relocations for polls
C1 emits two poll_type relocations at safepoint polls because LIR_Assembler::safepoint_poll(..) adds a relocation and calls LIR_Assembler::add_debug_info_for_branch(..) which adds a relocation as well. The implementation of add_debug_info_for_branch(..) is changed to not emit a poll relocation.

Reviewed-by: kvn, roland
2014-06-05 10:43:16 +02:00
David Katleman
dd69dc3186 Added tag jdk9-b16 for changeset f1f02d5f465a 2014-06-04 20:20:09 -07:00
Per Lidén
9c1843a7c3 8044768: Backout fix for JDK-8040807
Reviewed-by: brutisso, ehelin
2014-06-04 14:16:20 +02:00
Goetz Lindenmaier
8e7c8f1d88 8044775: Improve usage of umbrella header atomic.inline.hpp
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Bengt Rutisson
9672a26d51 8043607: Add a GC id as a log decoration similar to PrintGCTimeStamps
Reviewed-by: jwilhelm, ehelin, tschatzl
2014-06-19 13:31:14 +02:00
Staffan Larsen
8dc26f1a17 8044107: Add Diagnostic Command to list all ClassLoaders
Reviewed-by: mgerdin, stefank
2014-06-04 11:05:30 +02:00
Mikhailo Seledtsov
36d332413d 8038587: [TESTBUG] Create CDS tests to exercise region sizes and base address
Added new tests to cover missing CDS basic funtions

Reviewed-by: coleenp, ctornqvi
2014-06-02 21:36:59 -04:00
Markus Grönlund
489a26ec8e 8044531: Event based tracing locks to rank as leafs where possible
Reviewed-by: dcubed, dholmes
2014-06-03 09:44:54 +02:00
Christian Tornqvist
f2d6fb6a38 Merge 2014-06-02 18:15:18 +00:00
Christian Tornqvist
fd282f6e9a 8044364: runtime/RedefineFinalizer test fails on windows
Rewrote the test in pure Java, added RedefineClassHelper utility class

Reviewed-by: coleenp, allwin, gtriantafill, dsamersoff
2014-06-02 19:08:18 +02:00
Ron Durbin
870bec251c 8038132: jprt bundles have libjsig.dylib in different place on OSX
The build of Hotspot should not remove the symlinks for libjsig.

Reviewed-by: dcubed, dholmes
2014-06-02 09:30:08 -07:00
Mikael Auno
e563a70ab7 8044540: serviceability/sa/jmap-hashcode/Test8028623.java should be quarantined
Reviewed-by: sla
2014-06-02 17:21:15 +02:00
Katja Kantserova
d48bda2c52 8043915: Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
Reviewed-by: sla, allwin
2014-06-02 11:20:14 +02:00
Coleen Phillimore
3656168efc Merge 2014-06-01 11:56:15 -04:00
Alejandro Murillo
548de420c3 Merge 2014-05-30 13:46:02 -07:00
Staffan Larsen
7142b60efc 8044398: Attach code should propagate errors in Diagnostic Commands as errors
Reviewed-by: dcubed, mgronlun
2014-05-30 19:13:07 +02:00
Christian Thalinger
a9112cd17c Merge 2014-05-30 10:07:19 -07:00
Christian Thalinger
8f1c6dfff7 Merge 2014-05-30 09:49:53 -07:00
Daniel D. Daugherty
ad6d8d6abd 8036823: Stack trace sometimes shows 'locked' instead of 'waiting to lock'
Add a !owner check for 'waiting to lock' to catch current_pending_monitor corner cases.

Co-authored-by: Krystal Mok <rednaxelafx@gmail.com>
Co-authored-by: Zhengyu Gu <zhengyu.gu@oracle.com>
Reviewed-by: dholmes, sspitsyn, kmo, zgu
2014-05-30 07:20:51 -07:00
David Katleman
a8ec75f4cc Added tag jdk9-b15 for changeset 8e732d204328 2014-05-29 22:32:04 -07:00
Jon Masamitsu
7697ac03f5 Merge 2014-05-29 13:01:54 -07:00
Lois Foltan
5ff7186a1c 8041623: Solaris Studio 12.4 C++ 5.13, CHECK_UNHANDLED_OOPS use of class oop's copy constructor definitions causing error level diagnostic
Fix several minor compilation issues with volatile oops for CHECK_UNHANDLED_OOPS support.

Reviewed-by: coleenp, hseigel
2014-05-29 08:58:51 -04:00
Erik Helin
65cf6a8edc 8042933: assert(capacity_until_gc >= committed_bytes) failed
Reviewed-by: stefank, jmasa
2014-05-29 14:31:28 +02:00
Bengt Rutisson
f013a5db3b Merge 2014-06-03 09:34:04 +00:00
Bengt Rutisson
426151a22e 8043239: G1: Missing post barrier in processing of j.l.ref.Reference objects
Removed all write barriers during reference processing and added explicit write barriers when iterating through the discovered list.

Reviewed-by: pliden, jmasa, tschatzl
2014-06-03 10:44:36 +02:00
Per Lidén
2652623308 8040807: G1: Enable G1CollectedHeap::stop()
Reviewed-by: brutisso, jmasa, tschatzl
2014-06-03 10:37:46 +02:00
Jon Masamitsu
3e5805dc08 Merge 2014-06-02 06:29:34 -07:00
Per Lidén
44fc435b7e 8042310: TestStringDeduplicationMemoryUsage test failing
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:43:51 +02:00
Per Lidén
06a856ab8a 8044132: Quarantine unstable/broken GC tests
Reviewed-by: ehelin, jwilhelm
2014-05-30 10:37:39 +02:00
Vladimir Ivanov
679712201d 8034935: JSR 292 support for PopFrame has a fragile coupling with DirectMethodHandle
Reviewed-by: twisti, jrose, sspitsyn
2014-05-29 09:41:07 +00:00
Christian Tornqvist
436e1ecdf2 8043786: [TESTBUG] runtime/CommandLine/TestHexArguments.java test fails in nightly
Changed test to not pass on external flags to child processes

Reviewed-by: coleenp, hseigel
2014-05-28 22:59:29 +02:00
Igor Veresov
3966e14be8 8044090: C1: Old value instead of new one is passed to post-barrier in UnsafeGetAndSetObject
Pass correct value to post-barrier in UnsafeGetAndSetObject

Reviewed-by: roland, vlivanov
2014-05-28 07:59:23 -10:00
Dmitry Samersoff
b89a834019 Merge 2014-05-28 15:03:36 +00:00
Dmitry Samersoff
c291efb1df 6904403: assert(f == k-&gt;has_finalizer(),&quot;inconsistent has_finalizer&quot;) with debug VM
Don't assert if one of classes in hierarhy was redefined

Reviewed-by: coleenp, sspitsyn
2014-05-28 07:36:32 -07:00