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
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
Christian Thalinger
1a1f9f0871
8037043: put Method flag bits in predictable positions
...
Reviewed-by: kvn, coleenp
2014-03-11 14:54:47 -07:00
Nils Eliasson
f457cabe80
Merge
2014-03-11 11:26:14 -04:00
Roland Westrelin
38fd717c30
8035841: assert(dp_src->tag() == dp_dst->tag()) failed: should be same tags 1 != 0 at ciMethodData.cpp:90
...
Concurrent update of traps with construction of ciMethodData
Reviewed-by: kvn, twisti
2014-03-05 09:29:12 +01:00
Coleen Phillimore
1a95f3a409
8035735: Metaspace::contains become extremely slow in some cases
...
Call is_metadata instead which does less work for the call in debugInfo.hpp which is called for all compiled code stack frames.
Reviewed-by: jmasa, dcubed
2014-03-03 13:58:52 -05:00
Dmitry Samersoff
e1998b8813
Merge
2014-03-01 01:36:48 -08:00
Morris Meyer
c696dd6700
Merge
2014-02-28 08:02:20 -08:00
Erik Helin
000c4d9734
Merge
2014-02-28 14:56:04 +01:00
Stefan Karlsson
959bdfb211
8035746: Add missing Klass::oop_is_instanceClassLoader() function
...
Reviewed-by: mgerdin, coleenp
2014-02-27 10:36:50 +01:00
Stefan Karlsson
ba2326e19f
8035648: Don't use Handle in java_lang_String::print
...
Reviewed-by: coleenp, pliden
2014-02-27 10:34:55 +01:00
Staffan Larsen
e1e850a132
8035150: ShouldNotReachHere() in ConstantPool::copy_entry_to
...
Reviewed-by: dcubed, mgronlun
2014-02-26 15:47:44 +01:00