897 Commits

Author SHA1 Message Date
Jiangli Zhou
553b498f51 8021948: Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes
Change InstanceKlass::_source_file_name and _generic_signature to u2 fields.

Reviewed-by: coleenp, iklam
2013-08-19 14:59:54 -04:00
Chris Hegarty
972c8c9fb0 Merge 2013-08-15 21:33:37 +01:00
Daniel D. Daugherty
15aa5e3a57 Merge 2013-08-09 13:19:00 -07:00
Serguei Spitsyn
4974d1aef2 7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
Restore the appendix argument after PopFrame() call

Reviewed-by: twisti, coleenp
2013-08-06 16:33:59 -07:00
Albert Noll
fb2554e3f3 8021301: better event messages
Made event messages better readable

Reviewed-by: kvn, rbackman
2013-08-02 10:20:34 -07:00
Chris Hegarty
856809eb94 Merge 2013-08-02 11:10:39 +01:00
Chris Hegarty
f35203444c Merge 2013-07-22 14:01:39 +01:00
Calvin Cheung
1a1e83be6a 8004872: Early loading of HashMap and StringValue under -XX:+AggressiveOpts can be removed
This fix also removes the -XX:+UseStringCache option

Reviewed-by: dholmes, acorn, iklam
2013-07-18 14:57:51 -07:00
Jiangli Zhou
3dfcb4125e 8020309: Eliminate InstanceKlass::_cached_class_file_len
Use JvmtiCachedClassFileData.

Reviewed-by: iklam, sspitsyn, dcubed
2013-07-17 18:06:29 -04:00
Chris Hegarty
bab40e7b54 Merge 2013-07-15 11:07:03 +01:00
Harold Seigel
8379a071b6 8016256: Make finalization final
Add private methods to final methods check

Reviewed-by: coleenp, acorn, ahgross
2013-07-11 12:59:03 -04:00
Karen Kinnear
ed46fe2de9 8013635: VM should no longer create bridges for generic signatures
Requires: 8013789: Compiler bridges, 8015402: metafactory

Reviewed-by: sspitsyn, coleenp, bharadwaj
2013-07-09 14:02:28 -04:00
Eric Mccorkle
65405fd613 8014399: Remove JVM_SetProtectionDomain from hotspot
JVM_SetProtectionDomain has been deprecated since 1.5 and is being removed

Reviewed-by: coleenp, hseigel
2013-07-08 19:36:22 -04:00
David Chase
9a359984c2 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test

Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Alejandro Murillo
c2c1793452 Merge 2013-06-28 02:25:07 -07:00
Alejandro Murillo
2289eb801f Merge 2013-06-25 12:46:21 -07:00
Coleen Phillimore
39a1c1d6c2 8016325: JVM hangs verifying system dictionary
Minimize redundant verifications of Klasses.

Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Erik Helin
774e23fae7 Merge 2013-06-20 10:03:58 +02:00
Chris Hegarty
748456a6d9 Merge 2013-06-19 11:02:10 +01:00
John Cuthbertson
5382e0759e 8015237: Parallelize string table scanning during strong root processing
Parallelize the scanning of the intern string table by having each GC worker claim a given number of buckets. Changes were also reviewed by Per Liden <per.liden@oracle.com>.

Reviewed-by: tschatzl, stefank, twisti
2013-06-18 12:31:07 -07:00
Chris Hegarty
ae4642e749 Merge 2013-06-17 11:17:49 +01:00
Calvin Cheung
53448fdbed 8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Staffan Larsen
718f3252f6 8005849: JEP 167: Event-Based JVM Tracing
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Harold Seigel
02a27e2824 8015385: Remove RelaxAccessControlCheck for JDK 8 bytecodes
Check bytecode versions along with RelaxAccessControlCheck version

Reviewed-by: dholmes, acorn
2013-06-03 10:00:10 -04:00
Daniel D. Daugherty
54b7fa892a Merge 2013-06-01 09:28:26 -07:00
Chris Hegarty
a8432ef7c5 Merge 2013-05-31 10:27:12 +01:00
Jesper Wilhelmsson
43ff2913a7 Merge 2013-05-31 09:55:35 +02:00
Serguei Spitsyn
a246da16d1 8015436: compiler/ciReplay/TestSA.sh fails with assert() index is out of bounds
The InstanceKlass _initial_method_idnum value must be adjusted if overpass methods are added.

Reviewed-by: twisti, kvn
2013-05-30 11:46:39 -07:00
Aleksey Shipilev
375e12feb9 8015270: @Contended: fix multiple issues in the layout code
Field count handling fixed, has_nonstatic_fields invariant fixed, oop map overrun fixed; new asserts

Reviewed-by: kvn, dcubed, coleenp
2013-05-27 12:49:08 -07:00
Stefan Karlsson
c13149ab8d 8015422: Large performance hit when the StringTable is walked twice in Parallel Scavenge
Combine the calls to StringTable::unlink and StringTable::oops_do in Parallel Scavenge.

Reviewed-by: pliden, coleenp
2013-05-27 12:58:42 +02:00
Stefan Karlsson
8b7d3c5d3b 8015428: Remove unused CDS support from StringTable
The string in StringTable is not used by CDS anymore. Remove the unnecessary code in preparation for 8015422: Large performance hit when the StringTable is walked twice in Parallel Scavenge

Reviewed-by: pliden, tschatzl, coleenp
2013-05-27 12:56:34 +02:00
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