Jiangli Zhou
bd07a43e61
8153312: Constrain AppCDS behavior
...
Reviewed-by: iklam, acorn, mschoene
2016-04-20 16:39:37 -04:00
Zoltan Majo
cdc436922a
8157181: Compilers accept modification of final fields outside initializer methods
...
Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).
Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
2016-06-15 14:27:58 +02:00
Vladimir Ivanov
72747f47fd
Merge
2016-04-29 02:13:40 +03:00
Rickard Bäckman
b853eb7f5c
8151956: Support non-continuous CodeBlobs in HotSpot
...
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00
Alejandro Murillo
f9426642c6
Merge
2016-04-22 01:04:00 -07:00
Chris Plummer
7cd3700010
8148195: Some InstanceKlass and MethodCounters fields can be excluded when JVMTI is not supported
...
Removed "previous version", "cached class file", and breakpoint related fields and code when JVMTI is not supported
Reviewed-by: coleenp, sspitsyn
2016-04-21 20:49:11 -07:00
Calvin Cheung
28edd79d64
8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
...
This optimization reduces the size of the RW region of the CDS archive. It also reduces the amount of pages in the RW region that are actually written into during runtime.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: dlong, iklam, jiangli
2016-04-07 22:03:04 -07:00
Daniel D. Daugherty
4397e85e26
Merge
2016-04-07 09:47:48 -07:00
Joseph Provino
5cef85023b
8132524: Missing includes to resourceArea.hpp
...
Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Zoltan Majo
720f99dec9
Merge
2016-03-24 16:21:18 +01:00
Paul Sandoz
ab69113c5e
8149644: Integrate VarHandles
...
Reviewed-by: kvn, vlivanov
2016-03-24 11:21:49 +01:00
Jesper Wilhelmsson
b7ca1e57ee
Merge
2016-03-23 23:36:29 +01:00
Chris Hegarty
5af2dcd643
Merge
2016-03-22 10:43:58 +00:00
Alan Bateman
f30fc1c88b
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Jesper Wilhelmsson
132e217524
Merge
2016-03-19 01:23:46 +01:00
Per Lidén
da5ca5c5d5
8151601: Cleanup locking of the Reference pending list
...
Reviewed-by: brutisso, stefank
2016-03-17 08:07:53 +01:00
Mikael Vidstedt
c40e7bc21f
8149159: Clean up Unsafe
...
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:33:30 -08:00
Tobias Hartmann
2c4627b399
8151130: [BACKOUT] Remove Method::_method_data for C1
...
Backing out the fix for JDK-8147978 because it fails and blocks integration.
Reviewed-by: vlivanov, zmajo
2016-03-03 13:18:53 +01:00
Chris Plummer
6d7d3228e7
8147978: Remove Method::_method_data for C1
...
Method::_method_data field removed when not using C2 or JVMCI
Reviewed-by: dholmes, kvn
2016-02-26 09:13:22 -08:00
Coleen Phillimore
46cb32012a
8146518: Zero interpreter broken with better byte behaviours
...
Replaced Method::_result_type_index with Method::_result_type for better byte behaviours should be used for Zero also.
Reviewed-by: roland, kvn, bdelsart, kevinw
2016-01-07 13:59:49 -05:00
Coleen Phillimore
546bba34d7
8149038: SIGSEGV at frame::is_interpreted_frame_valid -> StubRoutines::SafeFetchN
...
Backout change for 8146984 but add an alignment check which may have caught original bug.
Reviewed-by: mgronlun, dcubed
2016-02-04 18:25:02 -05:00
Coleen Phillimore
d98409eadb
8146984: SIGBUS: bool Method::has_method_vptr(const void*)+0xc
...
Add address check and use SafeFetchN for Method* vptr access when Method* may be bad pointer.
Reviewed-by: dcubed, mgronlun
2016-02-03 17:26:36 +00:00
Jesper Wilhelmsson
40c4fe8573
Merge
2016-02-03 01:35:25 +01:00
Tobias Hartmann
832443d3b0
Merge
2016-01-28 09:49:17 +01:00
Coleen Phillimore
f8800caf4f
Merge
2016-01-14 16:26:38 -05:00
David Lindholm
ad0c208a5a
8146690: Make all classes in GC follow the naming convention
...
Reviewed-by: dholmes, stefank
2016-01-14 13:26:19 +01:00
Rachel Protacio
6dac872d4d
8141564: Convert TraceItables and PrintVtables to Unified Logging
...
The former -XX:+TraceItables and +PrintVtables flags have been converted to UL options -Xlog:itables=trace and vtables=trace
Reviewed-by: acorn, coleenp, dholmes
2016-01-07 13:53:20 -05:00
Goetz Lindenmaier
b26df6b69f
8146401: Clean up oop.hpp: add inline directives and fix header files
...
Reviewed-by: coleenp
2016-01-04 15:41:05 +01:00
Vladimir Ivanov
7adcd9a503
8140659: C1: invokedynamic call patching violates JVMS-6.5.invokedynamic
...
Reviewed-by: roland
2015-12-18 20:23:27 +03:00
Markus Grönlund
2ad9d3192f
8140485: Class load and creation cleanup
...
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Coleen Phillimore
97e169ac77
8145628: hotspot metadata classes shouldn't use HeapWordSize or heap related macros like align_object_size
...
Use align_metadata_size, align_metadata_offset and is_metadata_aligned for metadata rather than align_object_size, etc. Use wordSize rather than HeapWordSize for metadata. Use align_ptr_up rather than align_pointer_up (all the related functions are ptr).
Reviewed-by: hseigel, jmasa, cjplummer
2016-01-30 11:02:29 -05:00
Coleen Phillimore
200784d505
8132051: Better byte behavior
...
Co-authored-by: Roland Westerlin <roland.westerlin@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: bdelsart, roland, kvn, jrose, ahgross
2015-10-13 18:13:34 -04:00
Nils Eliasson
2f9e32256d
Merge
2015-11-13 13:31:48 +01:00
Aleksey Shipilev
ac09d8a135
8140650: Method::is_accessor should cover getters and setters for all types
...
Reviewed-by: vlivanov, coleenp, sgehwolf
2015-11-11 01:27:36 +03:00
Coleen Phillimore
b046110ab7
Merge
2015-10-28 15:03:40 +01:00
Coleen Phillimore
fc03719078
8139203: Consistent naming for klass type predicates
...
8138923: Remove oop coupling with InstanceKlass subclasses
Renamed oop_is_instance and friends, removed the functions in oop that dug down into InstanceKlass.
Reviewed-by: jrose, lfoltan, stefank
2015-10-28 09:47:23 -04:00
Coleen Phillimore
5179fc3488
8139163: InstanceKlass::cast passes through NULL
...
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null
Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Coleen Phillimore
f1e89ea4cc
8140274: methodHandles and constantPoolHandles should be passed as const references
...
Modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
Joseph Provino
db5f26110b
Merge
2015-10-20 11:17:19 -04:00
Dean Long
344a9becee
Merge
2015-10-17 19:40:30 -04:00
Chris Hegarty
ca4787d77b
8139891: Prepare Unsafe for true encapsulation
...
Reviewed-by: alanb, dholmes, jrose, psandoz, twisti
2015-10-27 14:18:56 +00:00
Yumin Qi
93d709dc4b
8135284: Remove Method::_method_size field
...
Remove Method::_method_size to improve memory footprint after JDK-8135085,which increased 4 bytes for 32 platform. Also removed related unused code in SA.
Reviewed-by: coleenp, hseigel
2015-10-14 08:12:33 -07:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Christian Thalinger
16526e000e
8136421: JEP 243: Java-Level JVM Compiler Interface
...
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Yumin Qi
6384ca7b1f
8025692: Log what methods are touched at run-time
...
Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods.
Reviewed-by: acorn, iklam
2015-07-15 12:24:41 -07:00
Coleen Phillimore
ee01e4e88b
Merge
2015-06-24 21:58:05 -04:00
Bill Pittore
304b59b0c8
8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
...
Need to add a space between macro identifier and string literal
Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04: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
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00