889 Commits

Author SHA1 Message Date
Zoltan Majo
9245cdc214 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:25:03 +02:00
Jesper Wilhelmsson
d60d6fdf40 Merge 2015-06-24 13:38:01 +02:00
Andreas Eriksson
606468abc4 8076110: VM crash when class is redefined with Instrumentation.redefineClasses
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Vladimir Kozlov
fcd7686431 Merge 2015-06-04 12:52:30 -07:00
Vladimir Ivanov
90a42c2491 8074551: GWT can be marked non-compilable due to deopt count pollution
Reviewed-by: kvn
2015-06-11 14:19:40 +03:00
Vladimir Ivanov
aae5102c06 8081320: Backout JDK-8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, coleenp
2015-05-29 17:04:21 +03:00
Tobias Hartmann
59f2a0f85f Merge 2015-05-29 12:49:31 +02:00
Harold Seigel
84986c5ad9 Merge 2015-05-29 23:19:42 +02:00
Harold Seigel
6a5fa52c18 8076319: jstat verified class fix
Move verify perf data so that it only counts classes that actually get verified.

Reviewed-by: acorn, coleenp, gtriantafill
2015-05-29 15:23:41 -04:00
Coleen Phillimore
9b5e1ddb92 8029567: Clean up linkResolver code
Moved non-const reference return values to actual return values, refactored error handling code, remove oop from Method* variable names.

Reviewed-by: jiangli, lfoltan, acorn
2015-05-29 11:35:51 -04:00
Stefan Johansson
b04d2bca57 8080746: Refactor oop iteration macros to be more general
Reviewed-by: stefank, pliden
2015-05-25 11:39:43 +02:00
Tobias Hartmann
068d5d78b1 Merge 2015-05-22 09:50:32 +02:00
Vladimir Ivanov
3f096651f3 8059340: ConstantPool::_resolved_references is missing in heap dump
Reviewed-by: sspitsyn, stefank, twisti
2015-05-21 18:22:33 +03:00
Jesper Wilhelmsson
f64e5038a4 Merge 2015-05-18 17:09:47 +02:00
Jungwoo Ha
48b40a2611 8079216: Remove undefined method oopDesc::is_null(Klass *)
Reviewed-by: kbarrett, coleenp, stefank
2015-05-15 15:40:58 -07:00
Vladimir Ivanov
e5a92a9fb9 8079205: CallSite dependency tracking is broken after sun.misc.Cleaner became automatically cleared
Reviewed-by: roland, psandoz, plevart, kbarrett, jrose
2015-05-15 19:23:11 +03:00
Harold Seigel
961389c6ef Merge 2015-05-09 07:32:49 -04:00
Michael Haupt
b15af202c5 8030680: 292 cleanup from default method code assessment
Small code improvements for increased robustness

Reviewed-by: acorn, coleenp
2015-05-08 14:00:24 -04:00
Jesper Wilhelmsson
ca69eddba5 Merge 2015-05-04 17:10:50 +02:00
Alejandro Murillo
d83bdb4157 Merge 2015-05-01 03:56:01 -07:00
Bharadwaj Yadavalli
f8d0a6ff28 Merge 2015-04-30 18:14:58 -04:00
Serguei Spitsyn
f7c143cbb2 8073705: more performance issues in class redefinition
Optimize the method pointer adjustments for prev klass versions and MNT

Reviewed-by: dcubed, coleenp
2015-04-27 19:51:00 -07:00
Kim Barrett
878cf5e641 8031401: Remove unused code in the reference processor
Assume pending_list uses discovered field and remove resulting dead code.

Reviewed-by: brutisso, pliden
2015-04-23 11:26:32 -04:00
Jesper Wilhelmsson
f2ac065c42 Merge 2015-04-20 14:26:54 +02:00
Stefan Karlsson
5a66ebc90c 8077936: Remove the unused java_lang_invoke_CallSite::target_volatile
Reviewed-by: vlivanov, jrose
2015-04-17 10:46:41 +02:00
Vladimir Kozlov
b9c00b1904 Merge 2015-04-16 14:05:48 -07:00
Daniel D. Daugherty
7315d2ea19 8130135: backout 8087143 due to failures in 8130115
Reviewed-by: minqi, coleenp
2015-06-30 09:39:53 -07:00
Yumin Qi
037958ba9a 8087143: Reduce Symbol::_identity_hash to 2 bytes
Convert Symbol::_identity_hash from integer to short integer to save two bytes. Also change identity_hash() to have 'this' and first two bytes of symbol join the calculation.

Reviewed-by: iklam, coleenp, shade
2015-06-29 13:48:55 -07:00
Vladimir Ivanov
ce40bf07b2 8057919: Class.getSimpleName() should work for non-JLS compliant class names
Reviewed-by: dholmes, jrose
2015-04-14 18:03:43 +03:00
Per Lidén
ca9afd25f6 8077413: Avoid use of Universe::heap() inside collectors
Reviewed-by: stefank, kbarrett
2015-04-13 15:47:48 +02:00
Jesper Wilhelmsson
7ec8aadd33 Merge 2015-04-09 17:39:42 +02:00
Jesper Wilhelmsson
46fd08f9ac 8077315: Build failure on OSX after compiler upgrade
Reviewed-by: stefank, mgerdin
2015-04-09 11:30:37 +02:00
Jesper Wilhelmsson
28d6d2146c 8077302: src/share/vm/oops/instanceRefKlass.inline.hpp has a doubble /*
Reviewed-by: stefank, mgerdin
2015-04-09 11:29:32 +02:00
Calvin Cheung
d4c484b0ba Merge 2015-04-03 13:45:33 -07:00
Stefan Karlsson
66fc45f602 8076456: Remove unnecessary oopDesc::klass() calls
Reviewed-by: pliden, jmasa
2015-04-02 10:22:13 +02:00
Stefan Karlsson
232a59cb40 8075955: Replace the macro based implementation of oop_oop_iterate with a template based solution
Reviewed-by: brutisso, coleenp, kbarrett, sjohanss
2015-04-02 10:04:27 +02:00
Vladimir Kozlov
b72eca85b5 Merge 2015-04-03 11:41:01 -07:00
Zoltan Majo
90e9ec4634 Merge 2015-03-27 09:02:53 +01:00
Stefan Karlsson
b980d93909 8075809: Add missing includes of stack.inline.hpp
Reviewed-by: jmasa, pliden
2015-03-25 10:08:09 +01:00
Stefan Karlsson
0c57e77d43 8075803: Fix GC includes and forward declarations
Reviewed-by: pliden, mgerdin
2015-03-24 11:21:21 +01:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Harold Seigel
1665046b90 Merge 2015-03-29 09:20:27 -04:00
Yumin Qi
3e6cf09c39 8074345: Enable RewriteBytecodes when VM runs with CDS
Enable bytecode rewriting when CDS turned on.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: coleenp, iklam
2015-03-25 15:18:37 -07:00
Serguei Spitsyn
cc2bb40bf3 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Use method cpref and klass version to provide meaningful methods name in stacktraces

Reviewed-by: coleenp, dcubed
2015-03-20 02:44:51 -07:00
Coleen Phillimore
01893ae525 8005521: StressMethodComparator is not thread-safe
Remove the debug option. It isn't correct or tested.

Reviewed-by: gtriantafill, dholmes, sspitsyn
2015-03-19 09:47:27 -04:00
Stefan Karlsson
ba1d121fe0 8075957: Reduce calls to the GC specific object visitors in oopDesc
Reviewed-by: brutisso, mgerdin, pliden
2015-03-26 11:28:19 +01:00
Zoltan Majo
9755168fe2 Merge 2015-03-20 11:53:01 +01:00
Roland Westrelin
71e31ee0b9 8073480: C2 should optimize explicit range checks
Explicit range checks should be recognized by C2

Reviewed-by: kvn, vlivanov
2015-03-17 10:06:31 +01:00
Coleen Phillimore
7b384c6958 8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
Only do full metadata walk during class redefinition and only walk handles during class unloading.

Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Christian Tornqvist
6465239986 Merge 2015-03-02 05:32:01 -08:00