Ioi Lam
d0baa9304f
Merge
2014-02-11 10:05:02 -08:00
Ioi Lam
7f138c5502
7182040: volano29 limited by os resource on Linux - need better diagnostic message
...
Changed message to "unable to create native thread: possibly out of memory or process/resource limits reached"
Reviewed-by: dholmes, sla
2014-02-11 08:43:17 -08:00
Daniel D. Daugherty
cf5c3370a3
8028073: race condition in ObjectMonitor implementation causing deadlocks
...
Move redo of ParkEvent.unpark() after JVMTI_EVENT_MONITOR_WAITED event handler is called.
Reviewed-by: dholmes, sspitsyn, dice, acorn
2014-02-10 12:48:54 -08:00
Staffan Larsen
f72107ae20
8028737: Remove JVM_AccessVMIntFlag / JVM_AccessVMBooleanFlag / JVM_VMBreakPoint
...
Reviewed-by: dcubed, coleenp
2013-12-16 10:34:30 +01:00
Mandy Chung
f9f9dd164a
8026025: JVM_GetCallerClass allows Reflection.getCallerClass(int depth) to use
...
Reviewed-by: alanb, dholmes, twisti
2013-10-08 02:56:06 -04:00
Calvin Cheung
48a315bb52
Merge
2013-10-04 21:00:43 -07:00
Mikael Vidstedt
a9927a8ee9
8024087: Remove dead JVM_{Get,Set}PrimitiveFieldValues functions
...
The two functions were used to support JDK 1.3 but are no longer in use
Reviewed-by: coleenp, ctornqvi, twisti, dsamersoff
2013-10-02 09:18:56 -07:00
Niclas Adlertz
562ce20154
Merge
2013-09-27 12:43:51 -07:00
Christian Thalinger
cd7bfac363
8024545: make develop and notproduct flag values available in product builds
...
Reviewed-by: dholmes, kvn
2013-09-26 12:07:53 -07:00
Daniel D. Daugherty
156b06d897
Merge
2013-09-20 12:58:35 -07:00
Coleen Phillimore
ec5e07f810
8022887: Assertion hit while using class and redefining it with RedefineClasses simultaneously
...
Need to refetch each method from InstanceKlass after all safepoints. Removed leaky PreviousVersionInfo code.
Reviewed-by: dcubed, sspitsyn
2013-09-20 09:30:02 -04:00
David Chase
222c735458
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
...
Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -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
Alejandro Murillo
2289eb801f
Merge
2013-06-25 12:46:21 -07:00
Chris Hegarty
748456a6d9
Merge
2013-06-19 11:02:10 +01:00
Chris Hegarty
ae4642e749
Merge
2013-06-17 11:17:49 +01:00
Vladimir Kozlov
55f6f35697
Merge
2013-06-14 16:33:34 -07:00
David Chase
d6402d4452
8010124: JVM_GetClassContext: use GrowableArray instead of KlassLink
...
Replace linked data structure with array (performance)
Co-authored-by: Christian Thalinger <christian.thalinger@oracle.com>
Reviewed-by: kvn
2013-06-13 15:39:47 -04: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
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
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
Sean Mullan
6ebc920e1e
8001330: Improve on checking order
...
Reviewed-by: acorn, hawtin
2013-04-05 10:18:36 -04:00
Bharadwaj Yadavalli
70314e1b01
Merge
2013-03-29 20:52:01 -07:00
Joel Borggren-Franck
ee3ea81f65
8009382: Add JVM_Get{Field|Method}TypeAnnotations
...
Reviewed-by: dcubed, rbackman
2013-03-26 15:00:34 +01:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07:00
Karen Kinnear
cfb7431cca
8010017: lambda: reflection get(Declared)Methods support for default methods
...
Don't expose vm generated overpass (bridges to default methods).
Reviewed-by: dholmes, fparain
2013-03-20 11:43:56 -04:00
Coleen Phillimore
faea95b8d3
8007320: NPG: move method annotations
...
Allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00
Zhengyu Gu
ef59a25f71
8006691: Remove jvm_version_info.is_kernel_jvm field
...
Removed is_kernel_jvm from jvm_version_info as Kernel VM has been deprecated
Reviewed-by: mchung, coleenp
2013-02-08 16:31:48 -05:00
Eric McCorkle
16990e896a
8006949: Update hotspot for MethodParameters format change
...
8006907: Hotspot should reject classfiles with multiple MethodParameters attributes
Update to Hotspot's processing of MethodParameters attributes in classfiles
Reviewed-by: coleenp, jrose
2013-02-04 13:05:32 -05:00
Bharadwaj Yadavelli
cb255a0269
8004967: Default method cause VerifyError: Illegal use of nonvirtual
...
Recognize VM generated method in old verifier
Reviewed-by: acorn, coleenp
2013-01-28 10:55:30 -05:00
Zhengyu Gu
fc0efc91c8
8000692: Remove old KERNEL code
...
Removed depreciated kernel VM source code from hotspot VM
Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Karen Kinnear
706efde6df
Merge
2013-01-21 16:11:24 -05:00
Bengt Rutisson
f3576a18a9
Merge
2013-01-18 11:03:15 +01:00
Coleen Phillimore
e508ba9b0b
7174978: NPG: Fix bactrace builder for class redefinition
...
Remove Method* from backtrace but save version so redefine classes doesn't give inaccurate line numbers. Removed old Merlin API with duplicate code.
Reviewed-by: dholmes, sspitsyn
2013-01-17 13:40:31 -05:00
Stefan Karlsson
9d65c6d24f
8005994: Method annotations are allocated unnecessarily during class file parsing
...
Also reviewed by: vitalyd@gmail.com
Reviewed-by: coleenp, acorn
2013-01-15 10:09:45 +01:00
Eric Mccorkle
be0c8e9f08
8006005: Fix constant pool index validation and alignment trap for method parameter reflection
...
This patch addresses an alignment trap due to the storage format of method parameters data in constMethod. It also adds code to validate constant pool indexes for method parameters data.
Reviewed-by: jrose, dholmes
2013-01-14 11:01:39 -05:00
Eric Mccorkle
be968245ec
8004728: Add hotspot support for parameter reflection
...
Add hotspot support for parameter reflection
Reviewed-by: acorn, jrose, coleenp
2013-01-08 14:01:36 -05:00
Joel Borggren-Franck
6ed6cb5375
8004823: Add VM support for type annotation reflection
...
Reviewed-by: dholmes, coleenp
2012-12-20 10:22:19 +01:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Harold Seigel
7fee66f152
8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
...
Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
2012-11-06 15:09:37 -05:00
Coleen Phillimore
28047d6a0f
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
...
Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
2012-09-29 06:40:00 -04:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Christian Thalinger
e622fcdc27
7188911: nightly failures after JSR 292 lazy method handle update (round 2)
...
Reviewed-by: kvn, jrose
2012-08-07 14:32:08 -07:00
Jiangli Zhou
7b82f72ba9
Merge
2012-07-13 20:14:27 -04:00
Chris Dennis
d1080de4ee
7179383: MaxDirectMemorySize argument parsing is broken for values >2G
...
Change hotspot flag to be unsigned
Reviewed-by: dholmes, sla, fparain, brutisso
2012-07-03 01:41:29 -04:00
Jiangli Zhou
56df3bd48d
7178145: Change constMethodOop::_exception_table to optionally inlined u2 table
...
Change constMethodOop::_exception_table to optionally inlined u2 table.
Reviewed-by: bdelsart, coleenp, kamg
2012-06-26 19:08:44 -04:00
Jiangli Zhou
b9e6895d3a
7109878: The instanceKlass EnclosingMethhod attribute fields can be folded into the _inner_class field
...
Fold instanceKlass::_enclosing_method_class_index and instanceKlass::_enclosing_method_method_index into the instanceKlass::_inner_classes array.
Reviewed-by: never, coleenp
2012-03-13 13:50:48 -04:00
Tom Rodriguez
5a41427b37
7141200: log some interesting information in ring buffers for crashes
...
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
Erik Gahlin
5657eb0c6c
7091417: recvfrom's 6th input should be of type socklen_t
...
Revamp class os's socket method formal args to match socket.h, insert casts in appropriate places, and copyin-copyout int*'s that s/b socklen_t*'s in jvm.cpp.
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, dholmes
2011-12-21 15:48:16 -05:00