Harold Seigel
2a692f80bf
8011773: Some tests on Interned String crashed JVM with OOM
...
Instead of terminating the VM, throw OutOfMemoryError exceptions.
Reviewed-by: coleenp, dholmes
2013-04-29 16:13:57 -04:00
Mikael Gerdin
fa84ba4ba9
Merge
2013-04-29 09:31:59 +02:00
Bharadwaj Yadavalli
2c55e61e3a
Merge
2013-04-26 14:50:23 -04:00
Igor Ignatyev
25dd2eda88
8012322: Tiered: CompilationPolicy::can_be_compiled(CompLevel_all) mistakenly return false
...
Reviewed-by: kvn, vlivanov
2013-04-26 07:21:41 -07:00
Eric McCorkle
287d1c2caa
8007154: Remove support for u4 MethodParameter flags fields
...
Remove support for parsing class files with four-byte flags fields in MethodParameters attributes
Reviewed-by: jrose, coleenp
2013-04-26 07:34:02 -04:00
Coleen Phillimore
cd7d504d54
8011803: release_C_heap_structures is never called for anonymous classes
...
Call this function from the ClassLoaderData destructor instead of the system dictionary walk.
Reviewed-by: stefank, mgerdin
2013-04-24 16:19:35 -04:00
Mikael Gerdin
316993b3db
8013136: NPG: Parallel class loading tests fail after fix for JDK-8011802
...
Move initialization of dependencies to before allocation of CLD
Reviewed-by: stefank, coleenp
2013-04-24 19:55:02 +02:00
Harold Seigel
d567edd809
8012695: Assertion message displays %u and %s text instead of actual values
...
USe err_msg() to create a proper assertion message.
Reviewed-by: twisti, coleenp, iklam
2013-04-24 09:00:04 -04:00
Gilles Duboscq
34da1742ef
8012292: optimized build with GCC broken
...
Some #ifndef PRODUCT should be #ifdef ASSERT
Reviewed-by: kvn, twisti
2013-04-24 14:26:09 +02:00
Sean Mullan
1fc6a72e9d
8011896: Add check for invalid offset for new AccessControlContext isAuthorized field
...
Reviewed-by: acorn
2013-04-22 08:33:12 -04:00
Daniel D. Daugherty
2cb874268e
Merge
2013-04-21 21:05:02 -07:00
Daniel D. Daugherty
138bab2963
8012907: anti-delta fix for 8010992
...
Anti-delta fix for 8010992 until 8012902 can be fixed
Reviewed-by: acorn, minqi, rdurbin
2013-04-21 20:41:04 -07:00
Serguei Spitsyn
87f3086e13
8008511: JSR 292: MemberName vmtarget refs to methods must be updated at class redefinition
...
Lazily create and maintain the MemberNameTable to be able to update MemberName's
Reviewed-by: coleenp, jrose, dholmes
2013-04-20 04:07:08 -07:00
Daniel D. Daugherty
46b3969016
Merge
2013-04-19 16:51:27 -07:00
Daniel D. Daugherty
dec02ae201
Merge
2013-04-19 13:48:54 -07:00
Yumin Qi
735ab2cd1c
8010992: Remove calls to global ::operator new[] and new
...
Disable use of global operator new and new[] which could cause unexpected exception and escape from NMT tracking.
Reviewed-by: coleenp, dholmes, zgu
2013-04-19 11:08:52 -07:00
Bharadwaj Yadavalli
f63b13e379
8006267: InterfaceMethod_ref should allow invokestatic and invokespecial
...
Lambda changes; spec 0.6.2 - Allow static invokestatic and invokespecial calls to InterfaceMethod_ref
Reviewed-by: dholmes, acorn
2013-04-18 08:05:35 -07:00
Bharadwaj Yadavalli
c660647bfa
Merge
2013-04-11 17:16:39 -07:00
Vladimir Ivanov
50821686b5
8011972: Field can be erroneously marked as contended when @Contended annotation isn't present
...
Reviewed-by: kvn, kmo, shade
2013-04-11 09:08:15 -07:00
Mikael Gerdin
0393fa9b49
Merge
2013-04-11 16:35:34 +02:00
David Chase
55c4ce1ca1
7104565: trim jprt build targets
...
Remove JPRT debug builds, remove -DDEBUG -DFASTDEBUG and use ASSERT instead in sources
Reviewed-by: dholmes, kvn, coleenp
2013-04-12 15:53:30 -07:00
Christian Thalinger
01e43be718
8011933: add number of classes, methods and time spent to CompileTheWorld
...
Reviewed-by: jrose, kvn
2013-04-12 12:22:59 -07:00
Mikael Gerdin
0edccc9e61
8010196: NPG: Internal Error: Metaspace allocation lock -- possible deadlock
...
Refactor the CLD dependency list into a separate class. Use an ObjectLocker to synchronize additions to the CLD dependency list.
Reviewed-by: stefank, coleenp
2013-04-10 13:27:35 +02:00
Bharadwaj Yadavalli
be10521e31
8011671: JCK tests on static interface methods fail under b84: Illegal type at constant pool entry 5
...
Restore incorrect removal of support for static interface method verification in Java 8
Reviewed-by: kvn, coleenp
2013-04-09 08:52:32 -07:00
Sean Mullan
6ebc920e1e
8001330: Improve on checking order
...
Reviewed-by: acorn, hawtin
2013-04-05 10:18:36 -04:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Leonid Mesnik
a4300aa98b
8009763: Add WB test for String.intern()
...
Add convenience method in StringTable, add WhiteBox method and simple sanity test
Reviewed-by: mgerdin, zgu
2013-04-02 11:28:33 +02:00
Bharadwaj Yadavalli
70314e1b01
Merge
2013-03-29 20:52:01 -07:00
Ioi Lam
cbe728a9bd
8010723: fatal error: acquiring lock Metaspace allocation lock/5 out of order
...
Avoid holding SystemDictionary_lock while calling Klass::remove_unshareable_info
Reviewed-by: coleenp, acorn
2013-03-31 21:43:10 -04:00
Karen Kinnear
b79e2c6803
8009731: Confusing error message for loader constraint violation
...
Fix text, overwritten type and holder for resolved method
Reviewed-by: coleenp, dcubed, minqi, dholmes
2013-03-27 14:10:59 -04:00
Harold Seigel
feec2af7b4
8009595: The UseSplitVerifier option needs to be deprecated
...
Put UseSplitVerifier option on the deprecated list.
Reviewed-by: dcubed, kmo, acorn
2013-03-26 09:06:16 -04:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07:00
Bharadwaj Yadavalli
0e9d409036
8009552: test/vm/verifier/TestStaticIF.java failing with hs25.0-b
...
Remove support for verification of class files with version 52 and above from type inference verifier.
Reviewed-by: acorn, hseigel
2013-03-25 09:36:15 -07:00
Harold Seigel
41f0004e4f
8010667: Non-zero padding is not allowed in splitverifier for tableswitch/lookupswitch instructions
...
Don't check the padding bits if class file version is >= 51.
Reviewed-by: kvn, dholmes, coleenp
2013-03-25 08:37:28 -04:00
Morris Meyer
8d607b2446
Merge
2013-03-21 21:48:56 -07:00
Morris Meyer
09098aff2f
8009578: [parfait] Null pointer deference in hotspot/src/share/vm/classfile/defaultMethods.cpp
...
Add guarantee() to disqualify_method()
Reviewed-by: kvn
2013-03-20 06:38:27 -07:00
Ioi Lam
6f76ade8e1
8007725: NPG: Klass::restore_unshareable_info() triggers assert(k->java_mirror() == NULL)
...
Check for exception during SystemDictionary::resolve_instance_class_or_null() and clean up.
Reviewed-by: coleenp, acorn, hseigel, minqi
2013-03-15 17:24:40 -04:00
Coleen Phillimore
c5867cb71b
8003419: NPG: Clean up metadata created during class loading if failure
...
Store metadata on ClassFileParser instance to be cleaned up by destructor. This enabled some refactoring of the enormous parseClassFile function.
Reviewed-by: jmasa, acorn
2013-03-13 17:34:29 -04:00
Coleen Phillimore
b243475fd2
8009829: CDS: JDK JPRT test fails crash in Symbol::equals()
...
-Xshare:dump was creating a Symbol in C_heap. There's an assert there that jdk jprt wasn't hitting because it was only done in product
Reviewed-by: dholmes, hseigel, iklam
2013-03-13 15:15:56 -04:00
Aleksey Shipilev
2f5e08742a
8008965: @Contended fails with classes having static fields
...
Disable @Contended support for static fields
Reviewed-by: coleenp, kvn
2013-03-11 14:00:09 -04:00
Stefan Karlsson
9ed09d08f5
8008549: NPG: SystemDictionary::find(...) unnecessarily keeps class loaders alive
...
SystemDictionary::find(...) should not create and register ClassLoaderData objects for class loaders.
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Reviewed-by: coleenp, acorn
2013-02-21 17:22:15 +01:00
Bharadwaj Yadavalli
ff4bbcd501
8007736: VerifyError for static method in interface
...
Reviewed-by: dholmes, acorn
2013-02-14 14:33:35 -05:00
Jon Masamitsu
d72b516201
8008966: NPG: Inefficient Metaspace counter functions cause large young GC regressions
...
Reviewed-by: mgerdin, coleenp
2013-02-12 14:15:45 -08:00
Mikael Gerdin
c47ec9b4ca
8011802: NPG: init_dependencies in class loader data graph can cause invalid CLD
...
Restructure initialization of ClassLoaderData to not add a new instance if init_dependencies fail
Reviewed-by: stefank, coleenp
2013-04-23 08:39:55 +02:00
Mikael Gerdin
dcedbaa149
Merge
2013-04-22 10:10:09 +02:00
Jon Masamitsu
e1cbb28f3f
8011268: NPG: Free unused VirtualSpaceNodes
...
Reviewed-by: mgerdin, coleenp, johnc
2013-03-01 10:19:29 -08:00
Coleen Phillimore
faea95b8d3
8007320: NPG: move method annotations
...
Allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00
John Cuthbertson
90d010120f
8011343: Add new flag for verifying the heap during startup
...
Perform verification during VM startup under control of new flag and within a VMOperation.
Reviewed-by: stefank, jmasa, brutisso
2013-04-05 10:20:04 -07:00
Coleen Phillimore
6101f88a80
Merge
2013-02-04 22:59:45 -08:00
Volker Simonis
37d83019d0
8007475: Memory stomp with UseMallocOnly
...
Fix off-by-one error
Reviewed-by: coleenp, hseigel
2013-02-04 13:14:12 -05:00