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
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
0e622bfc55
Merge
2014-06-25 20:41:16 -07:00
Jon Masamitsu
633706fa4e
Merge
2014-06-23 14:20:20 -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
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
Daniel D. Daugherty
57113f7d70
Merge
2014-06-13 19:07:11 -07: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
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
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
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +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
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
Yuri Gaevsky
4f2c88d8cd
8043925: Fix typo in verifier.cpp
...
Fix lookupswitch
Reviewed-by: sla, coleenp
2014-05-23 16:54:01 -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
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
Lois Foltan
ca501f6b00
8041918: BootstrapMethods attribute cannot be empty
...
Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.
Reviewed-by: coleenp, hseigel
2014-05-15 09:25:27 -04:00
Harold Seigel
976e7c8aa7
8040292: Annotation attributes must not appear more than once
...
Add checks for duplicate attributes.
Reviewed-by: coleenp, lfoltan
2014-05-12 13:12:30 -04: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
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
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
Shrinivas Joshi
c0f886ec65
8035936: SIGBUS in StubRoutines::aesencryptBlock, solaris-sparc
...
Fix the arbitrary alignment issue in SPARC AES crypto stub routines.
Reviewed-by: kvn, iveresov
2014-04-30 14:14:01 -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
Daniel D. Daugherty
e403797d96
Merge
2014-04-18 10:55:41 -07:00
Alejandro Murillo
16d0213a96
Merge
2014-04-18 10:30:13 -07:00
Harold Seigel
cfa7d828d9
8040018: Remove bad assert in ClassFileParser.cpp
...
Remove assert that prevent throwing valid exception
Reviewed-by: coleenp, lfoltan
2014-04-18 08:51:34 -04: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
Lois Foltan
5ca274e0ce
8038076: constraint on multianewarray instruction is not checked since class version 50
...
No VerifiyError generated if multianewarray bytecode's array type descriptor was 1 dimension smaller than dimensions specified.
Reviewed-by: hseigel, ctornqvi, coleenp, kamg
2014-04-14 10:13:03 -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
Erik Helin
4bc795f2db
Merge
2014-04-08 13:50:58 +02:00
Markus Grönlund
eea84b4feb
8039348: -XX:+TraceDeoptimization -XX:+Verbose -Xcomp can crash VM
...
Reviewed-by: kvn, sla
2014-04-08 11:50:01 +02:00
Stefan Karlsson
6583b826bb
8039244: Don't use UINT32_FORMAT and INT32_FORMAT when printing uints and ints in the GC code
...
Reviewed-by: brutisso, tschatzl
2014-04-04 09:46:10 +02:00
Marcus Larsson
9efb17f38f
6664815: Eliminate redundant memcpy operation in jni_GetStringUTFRegion
...
Added support for target buffer in as_utf8_string(), minor refactoring of as_utf8 and added some internal VM testing
Reviewed-by: coleenp, dsimms, sla, dholmes
2014-04-03 14:54:42 +02: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
Erik Helin
386f42f40c
Merge
2014-03-21 09:11:56 +01:00
Per Lidén
4a4c0fce93
8029075: String deduplication in G1
...
Implementation of JEP 192, http://openjdk.java.net/jeps/192
Reviewed-by: brutisso, tschatzl, coleenp
2014-03-18 19:07:22 +01:00
Coleen Phillimore
4880019b3e
8036630: Null ProtectionDomain in JVM can cause NPE because principals field is not initialized to an empty array
...
Call ProtectionDomain constructor instead of making all fields null.
Reviewed-by: fparain, zgu
2014-03-18 13:45:27 -04: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
Erik Helin
a45b9ead44
Merge
2014-02-25 11:02:11 +01:00