816 Commits

Author SHA1 Message Date
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
Vladimir Ivanov
4532f54300 7177745: JSR292: Many Callsite relinkages cause target method to always run in interpreter mode
Reviewed-by: jrose, kvn
2016-02-19 20:40:20 +03: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
f63c4ba349 Merge 2016-02-03 18:48:29 +00: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
Max Ockner
ce74c2fa3c Merge 2016-02-03 18:16:54 +01:00
Max Ockner
9cab990401 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
Per Lidén
4bfa63dd34 8147918: Rename develop_log_is_enabled() to log_develop_is_enabled()
Reviewed-by: dholmes, brutisso
2016-02-01 22:11:16 +01:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Mikael Gerdin
3cda485fe5 8148481: Devirtualize Klass::vtable
Move remainder of vtable related methods to Klass

Reviewed-by: cjplummer, coleenp
2016-01-19 12:07:32 +01:00
Erik Helin
f646b9fac7 8147012: Fix includes in internalVMTests.cpp
Reviewed-by: stefank, mgerdin
2016-01-19 11:00:29 +01:00
Coleen Phillimore
f8800caf4f Merge 2016-01-14 16:26:38 -05:00
Jesper Wilhelmsson
54d0181916 Merge 2016-01-14 17:36:29 +01: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
Christian Thalinger
a0861106e3 Merge 2016-01-11 17:11:57 -08:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00: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
Max Ockner
de7d9e821c 8144874: Reimplement TraceClassResolution with Unified Logging
TraceClassResolution reimplemented with classresolve tag.

Reviewed-by: coleenp, dholmes, iklam, rprotacio
2015-12-23 15:05:38 -05:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Vladimir Ivanov
0e01750370 8133612: new clone logic added in 8042235 is missing from compiler intrinsics
Reviewed-by: roland
2015-12-18 20:23:28 +03: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
Frederic Parain
ef800bd53f 8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Christian Thalinger
bf5db72254 8134994: use separate VMStructs databases for SA and JVMCI
Reviewed-by: kbarrett
2015-12-14 17:02:02 -10:00
Mikael Gerdin
211dc93a85 8148047: Move the vtable length field to Klass
Reviewed-by: cjplummer, twisti, coleenp, kbarrett
2015-12-01 10:35:49 +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
Goetz Lindenmaier
a5f97662f5 8148470: Metadata print routines should not print to tty
Reviewed-by: iklam, mgerdin
2016-01-28 15:13:15 -08:00
Ray Alex
4f42f17d9e 8146987: Improve Parallel GC Full GC by caching results of live_words_in_range()
A large part of time in the parallel scavenge collector is spent finding out the amount of live words within memory ranges to find out where to move an object to. Try to incrementally calculate this value.

Reviewed-by: tschatzl, mgerdin, jmasa
2016-01-28 13:30:12 +01:00
Mikael Gerdin
1163c0a2cb 8147461: Use byte offsets for vtable start and vtable length offsets
Reviewed-by: cjplummer, coleenp, dnsimon
2016-01-27 14:50:56 +01:00
Goetz Lindenmaier
6397e809aa 8146395: Add inline qualifier in oop.hpp and fix inlining in gc files
Fix remaining issues after 8146401. Also fix windows VS2010 linkage problem (g1OopClosures.hpp).

Reviewed-by: stefank, mgerdin
2016-01-18 10:25:41 +01:00
Chris Plummer
a73f6dc940 8143608: Don't 64-bit align start of InstanceKlass vtable, itable, and nonstatic_oopmap on 32-bit systems
Removed alignment of these fields.

Reviewed-by: coleenp, dholmes, mgerdin
2016-01-20 11:58:09 -08:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Jesper Wilhelmsson
1d7f54e2f3 Merge 2015-11-27 18:35:43 +01:00
Markus Grönlund
2ad9d3192f 8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
David Holmes
6e0ea9d21c 8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)

Reviewed-by: stuefe, bdelsart, dcubed
2015-12-04 04:06:37 -05:00
Max Ockner
c6b57e4c8c Merge 2015-12-03 19:35:18 +00:00
Max Ockner
a3d8114b45 8142976: Reimplement TraceClassInitialization with Unified Logging
TraceClassInitialization logging reimplemented with Unified Logging.

Reviewed-by: coleenp, hseigel
2015-12-02 14:07:58 -05:00
Vladimir Ivanov
a03d2513aa 8143408: Crash during InstanceKlass unloading when clearing dependency context
Reviewed-by: kvn
2015-11-25 01:17:28 +03:00
Yumin Qi
581c251007 8087223: InterfaceMethod CP entry pointing to a class should cause ICCE
Check constantTag for class constant data consistency at method resolution

Reviewed-by: coleenp, vlivanov
2015-11-17 15:14:29 -08:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01:00
Christian Thalinger
a38ea495d6 8139170: JVMCI refresh
Reviewed-by: kvn
2015-11-04 07:23:23 -10:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Jesper Wilhelmsson
b1e3e8436a Merge 2015-10-30 00:02:37 +01: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
Mikael Gerdin
d281188a5f 8140452: Internal Error memory/allocation.cpp:179
Use const ref & and avoid copy ctor

Reviewed-by: coleenp
2015-10-26 17:13:40 -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