791 Commits

Author SHA1 Message Date
Iris Clark
6e8c4747fb Merge 2015-06-29 11:27:19 -07:00
Alejandro Murillo
ab8dd89e95 8087202: Add support for PATCH field and remove unused fields of new version string
Reviewed-by: dholmes, alanb
2015-06-19 10:34:38 -07:00
Magnus Ihse Bursie
bd5a1079fe 8085822: JEP 223: New Version-String Scheme (initial integration)
Co-authored-by: Alejandro E Murillo <alejandro.murillo@oracle.com>
Reviewed-by: erikj, dcubed, dholmes, alanb
2015-06-12 08:31:01 +02:00
Vladimir Kozlov
fcd7686431 Merge 2015-06-04 12:52:30 -07:00
Andreas Eriksson
f3f4608e09 8072588: JVM crashes in JNI if toString is declared as an interface method
Check for a valid itable index instead of checking if the holder is an interface

Reviewed-by: dsimms, dholmes
2015-06-02 10:41:18 +02: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
Staffan Larsen
b1388f39a9 8080928: Uninitialised variable in hotspot/src/share/vm/prims/jvmtiEnvBase.cpp
Reviewed-by: mgronlun, sspitsyn
2015-05-29 09:48:58 +02: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
Tobias Hartmann
068d5d78b1 Merge 2015-05-22 09:50:32 +02:00
Jesper Wilhelmsson
25c41c6094 Merge 2015-05-21 21:17:56 +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
Serguei Spitsyn
99f8091782 8079644: memory stomping error with ResourceManagement and TestAgentStress.java
The cached class file structure must be deallocated instead of the cached class file bytes

Reviewed-by: coleenp, sla
2015-05-18 16:42:46 -07:00
Jesper Wilhelmsson
f64e5038a4 Merge 2015-05-18 17:09:47 +02: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
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
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
Christian Thalinger
8cb760c280 8022853: add ability to load uncompressed object and Klass references in a compressed environment to Unsafe
Reviewed-by: coleenp, jrose, kvn
2015-04-27 09:02:41 -07:00
Zoltan Majo
a452b030ce 8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
Introduce the PreserveFramePointer flag to control if RBP is used as the frame pointer or as a general purpose register.

Reviewed-by: kvn, roland, dlong, enevill, shade
2015-04-27 10:49:43 +02:00
Calvin Cheung
7bb3af5d16 Merge 2015-04-17 14:37:20 -07:00
Vladimir Kozlov
b9c00b1904 Merge 2015-04-16 14:05:48 -07:00
Michael Haupt
1cbf641d91 8076461: JSR292: remove unused native and constants
Reviewed-by: jrose, vlivanov
2015-04-14 18:16:10 +03: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
Cheleswer Sahu
f93a647092 8072863: Replace fatal() with vm_exit_during_initialization() when an incorrect class is found on the bootclasspath
Reviewed-by: dholmes, coleenp
2015-04-13 23:04:02 -07:00
Serguei Spitsyn
89256b01cb 8066679: jvmtiRedefineClasses.cpp assert cache ptrs must match
Remove the assert and deallocate cashed class file bytes that are in collision

Reviewed-by: coleenp, dcubed
2015-04-07 20:18:28 -07:00
Thomas Stuefe
704c02a180 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Add __try/__except around JNI_CreateJavaVM

Reviewed-by: mgronlun, dcubed
2015-04-03 05:55:33 -04:00
Jesper Wilhelmsson
7ec8aadd33 Merge 2015-04-09 17:39:42 +02:00
Thomas Schatzl
0a0a22f7ea 8058354: SPECjvm2008-Derby -2.7% performance regression on Solaris-X64 starting with 9-b29
Allow use of large pages for auxiliary data structures in G1. Clean up existing interfaces.

Reviewed-by: jmasa, pliden, stefank
2015-04-07 10:53:51 +02:00
Kirill Zhaldybin
7028386046 8043225: Make whitebox API functions more stable
Added checks for null parameters where applicable

Reviewed-by: dholmes, iignatyev
2015-04-02 18:53:45 +03:00
Andrew Haley
1dfbc44c1f 8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
Use unaligned Unsafe loads and stores for ByteBuffer access on platforms which support unaligned access. Add intrinsics for Unsafe.{get,put}-X-Unaligned methods.

Reviewed-by: dholmes, jrose, psandoz, kvn
2015-03-31 12:31:18 -07:00
Tobias Hartmann
f41f86bff1 8075214: SIGSEGV in nmethod sweeping
Changed implementation of forceNMethodSweep() to request sweep from existing sweeper thread.

Reviewed-by: kvn, mgerdin, dholmes
2015-03-30 07:54:23 +02:00
Vladimir Ivanov
f98a23137c 8057967: CallSite dependency tracking scales devastatingly poorly
Reviewed-by: jrose, roland, plevart, shade
2015-04-17 18:17:06 +03:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Coleen Phillimore
57f3125882 Merge 2015-03-13 18:59:41 +00: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
Daniel D. Daugherty
6029190551 Merge 2015-03-13 09:18:28 -07:00
Igor Ignatyev
cc89bac7ab 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:25 +03:00
Chris Plummer
984cf4c9b5 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:19 -07:00
Alejandro Murillo
cf1f3d308b Merge 2015-03-06 04:58:52 -08:00
Jesper Wilhelmsson
c1bc0a31b2 8074459: Flags handling memory sizes should be of type size_t
Changed the type to size_t for flags that handles memory sizes

Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01:00
Vladimir Kozlov
239370b736 Merge 2015-02-26 10:56:54 -08:00
Serguei Spitsyn
942d1f7f32 8046246: the constantPoolCacheOopDesc::adjust_method_entries() used in RedefineClasses does not scale
Optimize the adjust_method_entries functions by using the orig_method_idnum() function

Reviewed-by: coleenp, dcubed
2015-02-25 00:30:54 -08:00
Jesper Wilhelmsson
d7f5fccbc6 Merge 2015-02-16 21:24:39 +01:00
Goetz Lindenmaier
a7edf52a02 8073315: Enable gcc -Wtype-limits and fix upcoming issues
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.

Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Stefan Karlsson
4913ad5d7d 8072911: Remove includes of oop.inline.hpp from .hpp files
Reviewed-by: brutisso, coleenp, jwilhelm, simonis, dholmes
2015-02-13 14:37:35 +01:00
Daniel Fuchs
654c893170 8072482: Cleanup: In jvm.cpp and other shared files declaration of 64bits constants should use the CONST64/UCONST64 macros instead of the LL suffix
Reviewed-by: dholmes, coleenp
2015-02-11 17:41:55 +01:00
Paul Sandoz
a1d993e9ce 8068975: Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
Reviewed-by: dholmes, kvn, vlivanov
2015-02-10 14:10:43 +01:00
Daniel Fuchs
13c456e099 8072450: 9-dev build failed on elinux-i586 and rlinux-i586
Added LL suffix to constant declaration

Reviewed-by: dholmes, coleenp, sla
2015-02-04 17:12:03 +01:00
Serguei Spitsyn
8be0bb5458 8008678: JSR 292: constant pool reconstitution must support pseudo strings
Keep orig idx from pseudo-string to UTF8, use 2nd lsb CPSlot to mark pseudo-string.

Reviewed-by: coleenp, jrose
2015-01-29 03:11:01 -08:00