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
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
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
Eric McCorkle
16990e896a
8006949: Update hotspot for MethodParameters format change
...
8006907: Hotspot should reject classfiles with multiple MethodParameters attributes
Update to Hotspot's processing of MethodParameters attributes in classfiles
Reviewed-by: coleenp, jrose
2013-02-04 13:05:32 -05:00
Karen Kinnear
b28f16c910
Merge
2013-01-28 10:34:07 -05:00
Karen Kinnear
3f92d0764c
Merge
2013-01-27 21:58:34 -05:00
Ioi Lam
93b845e21b
6479360: PrintClassHistogram improvements
...
Jcmd <pid> GC.class_stats (UnlockDiagnosticVMOptions)
Reviewed-by: coleenp, hseigel, sla, acorn
2013-01-25 15:06:18 -05:00
Zhengyu Gu
fc0efc91c8
8000692: Remove old KERNEL code
...
Removed depreciated kernel VM source code from hotspot VM
Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Krystal Mo
c06a8276fe
Merge
2013-01-24 09:06:16 -08:00
Krystal Mo
ae1a2f5e3c
8006758: LinkResolver assertion (caused by @Contended changes)
...
Treat anonymous classes as privileged code to restore the special handling for @Compiled during class file parsing
Reviewed-by: jrose, coleenp, kvn, dholmes
2013-01-24 02:03:38 -08:00
Coleen Phillimore
99039568f9
8006040: NPG: on_stack processing wastes space in ConstantPool
...
Added on_stack bit to flags. Also MetadataMarkOnStack is used for more than JVMTI so had to be moved.
Reviewed-by: dholmes, stefank
2013-01-23 10:34:29 -05:00
Vladimir Kozlov
9e0c61f822
6896617: Optimize sun.nio.cs.ISO_8859_1$Encode.encodeArrayLoop() on x86
...
Use SSE4.2 and AVX2 instructions for encodeArray intrinsic.
Reviewed-by: roland
2013-01-22 15:34:16 -08:00
Dave Dice
98c357abf8
8004902: correctness fixes motivated by contended locking work (6607129)
...
Misc correctness fixes
Reviewed-by: acorn, dholmes, dice, sspitsyn
2013-01-22 05:56:42 -08:00
Karen Kinnear
706efde6df
Merge
2013-01-21 16:11:24 -05:00
Bengt Rutisson
f3576a18a9
Merge
2013-01-18 11:03:15 +01:00
Jon Masamitsu
59f0209008
8006537: Assert when dumping archive with default methods
...
Reviewed-by: coleenp
2013-01-17 19:04:48 -08:00
Coleen Phillimore
e508ba9b0b
7174978: NPG: Fix bactrace builder for class redefinition
...
Remove Method* from backtrace but save version so redefine classes doesn't give inaccurate line numbers. Removed old Merlin API with duplicate code.
Reviewed-by: dholmes, sspitsyn
2013-01-17 13:40:31 -05:00
Stefan Karlsson
6799149f7d
8006513: Null pointer in DefaultMethods::generate_default_methods when merging annotations
...
Reviewed-by: brutisso, jfranck
2013-01-17 11:39:48 +01:00