Commit Graph

6633 Commits

Author SHA1 Message Date
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
Poonam Bajaj
39a6695059 8043086: Hotspot is expected to report OOM which is occurred String.intern(), but crashes in JDK8u5
In case of allocation failure, restore the value of _chunk in Arena

Reviewed-by: dholmes, dcubed
2014-05-28 06:26:05 -07:00
Igor Ignatyev
cd910ffebb 8043899: compiler/5091921/Test7005594.java fails if specified -Xmx is less than 1600m
Reviewed-by: kvn, twisti, vlivanov
2014-05-28 14:42:00 +04:00
Yumin Qi
1a3734cdfa 8043896: Error reporting for insufficient shared region size is incorrect
In SharedSpaceType, we have three enum types which are used in report_out_of_shared_space(SharedSpaceType type). In fact we supplied more than three messages and flags. This leads the warning always gives wrong message with the first not used.

Reviewed-by: iklam, coleenp
2014-05-27 21:58:23 -07:00
Mikael Vidstedt
7ffabd53cf 8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp
Reviewed-by: coleenp, lfoltan, kvn
2014-05-27 16:05:29 -07:00
Yumin Qi
49c3c35a14 8038422: CDS test failed: assert((size % os::vm_allocation_granularity()) == 0) failed when limiting SharedMiscDataSize
In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same. In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same.

Reviewed-by: dholmes, iklam, jiangli, coleenp
2014-05-27 08:44:23 -07:00
Dmitry Fazunenko
ef1fa497b3 8040250: The test test/gc/parallelScavenge/TestDynShrinkHeap.java fails with OOME
Reviewed-by: jmasa, iignatyev
2014-05-26 19:21:01 +04:00
Filipp Zhinkin
e7419662ba 8038924: Test bit-instructions fails with unexpected exit value on sparc
Reviewed-by: kvn, iignatyev
2014-05-26 19:05:01 +04:00
Roland Westrelin
ee80d81323 8043638: Multiple compilation attempts break LogCompulation, lead to confusing PrintInlining output
Dumps inlining only for last compilation attempt. Fix LogCompilation tool so it handles multiple compilation attempts.

Reviewed-by: vlivanov, kvn
2014-05-26 14:27:01 +02:00
Roland Westrelin
a7d8aec5fb 8042557: compiler/uncommontrap/TestSpecTrapClassUnloading.java fails with: GC triggered before VM initialization completed
Larger heap size, bug fix when trying to exhaust memory

Reviewed-by: vlivanov, twisti, kvn
2014-05-26 10:48:58 +02:00
Dan Horak
f65e3fcaac 8043723: max_heap_for_compressed_oops() declared with size_t, but defined with uintx
The mismatch in declaration and definition has been encountered when compiling on a platform where the sizes are different. Change the method definition to match the declaration.

Reviewed-by: tschatzl, sjohanss
2014-05-26 09:31:43 +02:00
Coleen Phillimore
854f5afca7 Merge 2014-05-23 21:34:49 +00:00