786 Commits

Author SHA1 Message Date
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
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
Vladimir Kozlov
655b317ad1 Merge 2014-06-06 11:37:23 -07: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
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
Dmitry Samersoff
c291efb1df 6904403: assert(f == k->has_finalizer(),"inconsistent has_finalizer") 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
Coleen Phillimore
f5266ba9b2 Merge 2014-05-23 16:43:47 -04:00
Christian Thalinger
67ad89efd5 Merge 2014-05-22 16:26:05 -07:00
Rickard Bäckman
8bd4b5624c 8030976: Untaken paths should be more vigorously pruned at highest optimization level
Reviewed-by: roland, vlivanov
2014-05-22 13:42:44 +02:00
Christian Thalinger
4c5c9f2ce7 Merge 2014-06-02 13:53:52 -07:00
David Chase
23d6ad76d7 8029381: assert(is_method_type()) failed: bad cast
Access to method_type and appendix from constant pool (cpcache) needs to be guarded by is_f1_null() because of racy update/initialization.

Reviewed-by: kvn, coleenp, jrose
2014-06-02 14:32:29 -04:00
Coleen Phillimore
ead7a2760b 8042727: nsk/jdb/unwatch/unwatch001 crash in InstanceKlass::methods_do(void (*)(Method*))
Only walk methods in instanceklass if the class is loaded

Reviewed-by: dholmes, fparain
2014-05-21 14:36:18 -04:00
Coleen Phillimore
024bb79ec8 Merge 2014-05-17 19:34:38 -04:00
Serguei Spitsyn
7f2b064e43 8042796: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Relax the guaranty for deleted methods

Reviewed-by: dcubed, coleenp
2014-05-16 15:05:44 -07:00
Coleen Phillimore
c336175c94 8038212: Method::is_valid_method() check has performance regression impact for stackwalking
Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint.

Reviewed-by: mgerdin, mgronlun, hseigel, stefank
2014-05-15 18:23:26 -04:00
Yuri Gaevsky
cc3c656cf1 8025580: Temporary flags: UseNewReflection and ReflectionWrapResolutionErrors
The fix removes all UseNewReflection/ReflectionWrapResolutionErrors occurrences/logic and adds them into the list of obsolete_jvm_flags in arguments.cpp.

Reviewed-by: coleenp, hseigel
2014-05-15 17:38:50 -04:00
Christian Thalinger
115d44f61b Merge 2014-05-15 11:35:26 -07:00
Coleen Phillimore
388434f387 Merge 2014-05-12 09:47:57 -04:00
David Chase
305ec3bd3f 8037816: Fix for 8036122 breaks build with Xcode5/clang
Repaired or selectively disabled offending formats; future-proofed with additional checking

Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Christian Thalinger
b2d6f9f78a Merge 2014-05-08 15:08:45 -07:00
Goetz Lindenmaier
fb62773268 8042737: Introduce umbrella header prefetch.inline.hpp
Reviewed-by: twisti, stefank
2014-05-08 15:37:17 +02:00
Christian Thalinger
43ba79fce3 Merge 2014-05-16 14:35:37 -07:00
Roland Westrelin
7ef690b2c7 8026694: New type profiling points break compilation replay
Fixes compilation replay with new profiling points

Reviewed-by: kvn, twisti
2014-05-15 09:09:28 +02:00
Coleen Phillimore
39f7049fbb Merge 2014-05-07 18:19:31 -04:00
Gerard Ziemski
ed9c096396 8038654: Separate SymbolTable and StringTable code
Refactor stringTable class out of symbolTable, making sure all includes are minimal set and are sorted.

Reviewed-by: coleenp, stefank
2014-05-07 14:16:45 -05:00
Lois Foltan
edc10143cb 8036805: Correct linker method lookup
Correct handling of array of primitive type qualifiers during field and method resolution.

Reviewed-by: acorn, hseigel, ahgross
2014-05-07 19:38:22 +04:00
Harold Seigel
afbd45bb8c 8032536: JVM resolves wrong method in some unusual cases
Handle package private case

Reviewed-by: coleenp, acorn, jdn
2014-05-07 19:21:52 +04:00
Coleen Phillimore
7e2463ea72 8023697: failed class resolution reports different class name in detail message for the first and subsequent times
Cache detail message when we cache exception for constant pool resolution.

Reviewed-by: acorn, twisti, jrose
2014-05-05 19:53:00 -04:00
Christian Thalinger
78bfdda141 Merge 2014-05-02 19:00:04 -07:00
Goetz Lindenmaier
6e6f0720a9 8042195: Introduce umbrella header orderAccess.inline.hpp
Reviewed-by: dholmes, kvn, stefank, twisti
2014-04-29 15:17:27 +02:00
Tobias Hartmann
06c26b6f97 8036956: remove EnableInvokeDynamic flag
The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.

Reviewed-by: kvn, twisti
2014-04-29 08:08:44 +02:00
Peter Allwin
a610e558a5 Merge 2014-04-27 18:57:56 +02:00
Markus Grönlund
3852709df9 8041723: Event Based tracing ids to be reassigned for CDS klasses
Reviewed-by: coleenp, ehelin
2014-04-25 10:08:04 +02:00
Bharadwaj Yadavalli
ce3b7871d0 Merge 2014-04-24 17:20:29 -04:00
Bharadwaj Yadavalli
24be3e5628 Merge 2014-04-18 14:30:58 -04:00
Alejandro Murillo
16d0213a96 Merge 2014-04-18 10:30:13 -07:00
Roland Westrelin
0acbad17c8 8039975: SIGSEGV in MethodData::next_data(ProfileData*)
Profiling code in interpreter broken when argument profiling is off.

Reviewed-by: iveresov, kvn
2014-04-18 14:25:21 +02:00
Alejandro Murillo
331d26800c Merge 2014-04-15 15:37:36 -07:00
Lois Foltan
8c36d0cd2b 8033150: invokestatic: IncompatibleClassChangeError trying to invoke static method from a parent in presence of conflicting defaults
A static method should be preferred during method resolution over an overpass, search the current class as well as its superclasses.

Reviewed-by: acorn, coleenp, kamg
2014-04-14 14:27:45 -04:00
Peter Allwin
b12896283b Merge 2014-04-11 13:04:59 +02:00
Coleen Phillimore
c8990959f2 8028497: SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool)
Keep class in CLD::_klasses list and mirror created for CDS classes if OOM during restore_shareable_info(). This keeps pointers consistent for CMS.

Reviewed-by: ehelin, stefank, jmasa, iklam
2014-04-08 13:58:38 -04:00
Roland Westrelin
7da7a9c72a 8038636: speculative traps break when classes are redefined
Remove speculative traps that point to methods that are redefined

Reviewed-by: kvn, twisti
2014-04-08 09:51:25 +02:00
Bharadwaj Yadavalli
a12d6f7a1e Merge 2014-04-03 17:05:19 -04:00
Roland Westrelin
b21d142f01 8037970: make PrintMethodData a diagnostic options
Make PrintMethodData a diagnostic options for performance investigation

Reviewed-by: kvn, iveresov
2014-03-31 10:35:06 +02:00
Roland Westrelin
fa3b0a8f47 8031755: Type speculation should be used to optimize explicit null checks
Feed profiling data about reference nullness to type speculation.

Reviewed-by: kvn, iveresov
2014-03-31 09:08:53 +02:00
Dmitry Samersoff
5c15816a53 Merge 2014-03-30 03:29:48 -07:00
Vladimir Kozlov
97a51c5c2a 8031320: Use Intel RTM instructions for locks
Use RTM for inflated locks and stack locks.

Reviewed-by: iveresov, twisti, roland, dcubed
2014-03-20 17:49:27 -07:00
Coleen Phillimore
472622d900 8031820: NPG: Fix remaining references to metadata as oops in comments
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool

Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes.

Reviewed-by: stefank, jmasa
2014-03-26 21:47:45 -04:00
Vladimir Ivanov
38d80b03c4 8023461: Thread holding lock at safepoint that vm can block on: MethodCompileQueue_lock
Reviewed-by: kvn, iveresov
2014-03-11 15:06:34 +04:00
Igor Veresov
54db2c2d61 8032463: VirtualDispatch test timeout with DeoptimizeALot
Introduce code aging for warm method detection

Reviewed-by: kvn, twisti
2014-05-13 11:32:10 -07:00