Commit Graph

6574 Commits

Author SHA1 Message Date
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
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
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
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
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
Daniel D. Daugherty
57113f7d70 Merge 2014-06-13 19:07:11 -07:00
Alejandro Murillo
f28e2feb9f Merge 2014-06-13 12:04:33 -07:00
Vladimir Kozlov
31d227f25d Merge 2014-06-13 10:21:30 -07:00
Dmitry Samersoff
92675f5272 8038392: Generating prelink cache breaks JAVA 'jinfo' utility normal behaviour
Better parsing of /proc/pid/maps in sa

Reviewed-by: sspitsyn, sla
2014-06-13 05:10:44 -07: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
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