Chris Hegarty
988a08a49f
Merge
2013-05-23 12:44:18 +01:00
Coleen Phillimore
6ed8c8fcea
8003421: NPG: Move oops out of InstanceKlass into mirror
...
Inject protection_domain, signers, init_lock into java_lang_Class
Reviewed-by: stefank, dholmes, sla
2013-05-22 14:37:49 -04:00
Bharadwaj Yadavalli
19da55568f
8014059: JSR292: Failed to reject invalid class cplmhl00201m28n
...
Restrict reference of interface methods by invokestatic and invokespecial to classfile version 52 or later.
Reviewed-by: kvn, hseigel
2013-05-21 16:17:51 -07:00
Aleksey Shipilev
a462587e4b
8014878: Clean up class field layout code
...
Rename/remove local variables, re-arrange instance_size calculation, more comments.
Reviewed-by: kvn, coleenp
2013-05-20 23:41:27 +04:00
Ioi Lam
f9ae3b46de
8014262: PrintStringTableStatistics should include more footprint info
...
Added info for the string/symbol objects and the hash entries
Reviewed-by: coleenp, rbackman
2013-05-18 20:41:01 -07:00
Daniel D. Daugherty
9a6dfe1c55
Merge
2013-05-17 11:36:43 -07:00
Aleksey Shipilev
efe96b1343
8014509: @Contended: explicit default value behaves differently from the implicit value
...
Treat the empty string as the default value tag
Reviewed-by: kvn, twisti
2013-05-17 01:58:32 +04:00
Aleksey Shipilev
2fd72e202f
8012939: @Contended doesn't work correctly with inheritance
...
Fix instance_size miscalculation.
Reviewed-by: jrose, kvn
2013-05-17 01:43:48 +04:00
Christian Thalinger
c6c7f3439e
Merge
2013-05-16 13:47:55 -07:00
Chris Hegarty
99f427d2c5
Merge
2013-05-16 11:44:33 +01:00
Yumin Qi
98151c30c8
8012902: remove use of global operator new - take 2
...
The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms.
Reviewed-by: coleenp, dholmes, zgu
2013-05-14 09:41:12 -07:00
Aleksey Shipilev
b3675a00d9
8014448: Purge PrintCompactFieldsSavings
...
Remove obsolete debugging code.
Reviewed-by: dholmes, kvn
2013-05-14 11:34:30 +04:00
Christian Thalinger
2c7c39072c
Merge
2013-05-13 12:43:10 -07:00
Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Yumin Qi
c6aa9c656f
8003557: NPG: Klass* const k should be const Klass* k
...
With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
2013-05-10 08:27:30 -07:00
Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Chris Hegarty
b22f700cdc
Merge
2013-05-08 15:25:08 +01:00
Karen Kinnear
409e738a07
Merge
2013-05-06 10:20:18 -07:00
Harold Seigel
768a1b55cf
8013648: Guarantee(VerifyBeforeGC || VerifyDuringGC || VerifyBeforeExit || VerifyAfterGC) failed: too expensive
...
Fix code to call correct version of function find_class().
Reviewed-by: coleenp, rdurbin, dcubed
2013-05-06 09:10:21 -04:00
Daniel D. Daugherty
79f4c78a72
Merge
2013-05-03 15:51:16 -07:00
Vladimir Kozlov
1763afaec5
Merge
2013-05-03 15:35:30 -07:00
Frederic Parain
7c2fb49608
8004095: Add support for JMX interface to Diagnostic Framework and Commands
...
Reviewed-by: acorn, sla
2013-05-03 05:05:31 -07:00
Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Mikael Gerdin
67b238b12d
Merge
2013-05-02 19:28:59 +02:00
Karen Kinnear
570af5a3dd
8010783: assert(s->refcount() != 0) failed: for create_overpasses
...
Reviewed-by: kvn, dcubed
2013-05-02 10:58:04 -04:00
Chris Hegarty
7040795490
Merge
2013-05-01 14:11:01 +01:00
Harold Seigel
c108e3a79f
Merge
2013-04-29 16:36:17 -04:00
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