249 Commits

Author SHA1 Message Date
Staffan Larsen
f755ca6acc Merge 2014-11-17 09:36:40 +01:00
Roger Riggs
d5aaa2d8ff 8065372: Object.wait(ms, ns) timeout returns early
Reviewed-by: martin, dholmes
2014-11-19 21:28:26 -05:00
Aleksey Shipilev
4a8e05977e 8059677: Thread.getName() instantiates Strings
Reviewed-by: chegar, dholmes, sla, rriggs
2014-11-13 01:55:21 +03:00
Eric McCorkle
1c54a00f75 8055063: Parameter#toString() fails w/ AIOOBE for ctr of inner class w/ generic type
Add getAllGenericParameters, which attempts to report generic parameters with synthetic parameters to the best extent possible with current classfile information.

Reviewed-by: jfranck
2014-11-10 11:23:23 -05:00
Martin Buchholz
8ecf707b8d 8062773: Clarifications for Class specification
Reviewed-by: darcy, psandoz
2014-11-06 13:29:36 -08:00
Claes Redestad
1584416bbc 8062180: MethodHandleImpl.makeArrays throws and swallows java.lang.NoSuchFieldError in normal flow
Reviewed-by: vlivanov, shade
2014-11-06 15:25:56 +01:00
Claes Redestad
678e0c1b0d 8060130: Simplify the synchronization of defining and getting java.lang.Package
Reviewed-by: mchung, plevart, shade
2014-11-06 00:06:26 +01:00
Stuart Marks
b23c39c07b 4354680: Runtime.runFinalization() silently clears interrupted flag in the calling thread
Reviewed-by: dholmes, chegar
2014-10-30 17:48:10 -07:00
Vladimir Ivanov
224c42ee4d 8059877: GWT branch frequencies pollution due to LF sharing
Reviewed-by: psandoz, jrose
2014-10-29 09:31:37 -07:00
Vladimir Ivanov
0c95b0fb5f 8060483: NPE with explicitCastArguments unboxing null
Reviewed-by: attila, lagergren
2014-10-24 08:22:17 -07:00
Alejandro Murillo
d89ff24e1a Merge 2014-10-17 07:58:57 -07:00
Aleksey Shipilev
c25af2a638 8060485: (str) contentEquals checks the String contents twice on mismatch
Reviewed-by: martin, chegar, alanb
2014-10-14 19:35:03 +02:00
Daniel D. Daugherty
ba69f3e290 Merge 2014-10-10 08:29:38 -07:00
Frederic Parain
fee63b862f 8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:48:12 -07:00
Vladimir Ivanov
af1868b9ea 8058892: FILL_ARRAYS and ARRAYS are eagely initialized in MethodHandleImpl
Reviewed-by: kvn, shade
2014-10-03 11:45:36 -07:00
Aleksey Shipilev
e3bda3bd0a 8058643: (str) Re-examine hashCode implementation
Reviewed-by: martin, alanb, sherman, redestad
2014-09-24 09:43:10 -07:00
Brian Burkhalter
a5187396f5 4477961: java.lang.Math.toDegrees(double) could be optimized
Change toDegrees() and toRadians() to multiplication by a compile-time constant.

Reviewed-by: mduigou, shade
2014-09-22 16:59:23 -07:00
Aleksey Shipilev
20abfd774a 8058661: Compiled LambdaForms should inherit from Object to improve class loading performance
Reviewed-by: vlivanov, jrose
2014-09-18 18:33:05 +04:00
Vladimir Ivanov
475c0a767a 8058293: Bit set computation in MHs.findFirstDupOrDrop/findFirstDrop is broken
Reviewed-by: jrose
2014-09-16 18:05:03 +04:00
Vladimir Ivanov
e490ad1e61 8058291: Missing some checks during parameter validation
Reviewed-by: jrose
2014-09-16 18:05:01 +04:00
John Rose
dbbce7862e 8057922: Improve LambdaForm sharing by using LambdaFormEditor more extensively
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
30f687e214 8057042: LambdaFormEditor: derive new LFs from a base LF
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
f74266a5a4 8056926: Improve caching of GuardWithTest combinator
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:52 +04:00
John Rose
afe2dd89e4 8057657: Annotate LambdaForm parameters with types
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:51 +04:00
John Rose
563b1c73a4 8057656: Improve MethodType.isCastableTo() & MethodType.isConvertibleTo() checks
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:51 +04:00
John Rose
67504740bd 8057654: Extract checks performed during MethodHandle construction into separate methods
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:51 +04:00
John Rose
70c6eaee97 8050887: Intrinsify constants for default values
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
9c80853676 8050884: Intrinsify ValueConversions.identity() functions
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
f365de576b 8050877: Improve code for pairwise argument conversions and value boxing/unboxing
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
d565c3701f 8050200: Make LambdaForm intrinsics detection more robust
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:50 +04:00
John Rose
8940954741 8050057: Improve caching of MethodHandle reinvokers
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
fb7b2acc12 8050174: Support overriding of isInvokeSpecial flag in WrappedMember
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
71bae4addc 8050173: Add j.l.i.MethodHandle.copyWith(MethodType, LambdaForm)
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:49 +04:00
John Rose
2f4b5e8534 8050166: Get rid of some package-private methods on arguments in j.l.i.MethodHandle
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:48 +04:00
John Rose
6a177f43fb 8050053: Improve caching of different invokers
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:48 +04:00
John Rose
da56d3f6d1 8050052: Small cleanups in java.lang.invoke code
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
Vladimir Ivanov
0898161932 8049555: Move varargsArray from sun.invoke.util package to java.lang.invoke
Reviewed-by: psandoz, iignatyev
2014-09-10 19:19:47 +04:00
John Rose
693c89e3b9 8038261: JSR292: cache and reuse typed array accessors
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:47 +04:00
John Rose
0b424b49d8 8037209: Improvements and cleanups to bytecode assembly for lambda forms
Reviewed-by: vlivanov, psandoz
2014-09-10 19:19:46 +04:00
Claes Redestad
1dc4b5e2f8 8055251: Re-examine Integer.parseInt and Long.parseLong methods
Reviewed-by: alanb
2014-09-10 13:51:17 +01:00
Joel Borggrén-Franck
febacf5319 8054987: (reflect) Add sharing of annotations between instances of Executable
Reviewed-by: darcy, plevart
2014-09-09 10:48:01 +02:00
Martin Buchholz
95a1c8965d 8056951: pico-optimize contains(Object) methods
Use idiiom >= 0 consistently to check for valid index

Reviewed-by: mduigou
2014-08-29 14:50:15 -07:00
Ivan Gerasimov
e164c8603b 8054714: Use StringJoiner where it makes the code cleaner
Reviewed-by: psandoz, redestad
2014-08-27 22:08:19 +04:00
Chris Hegarty
7d146ee898 Merge 2014-08-18 10:59:36 +01:00
Chris Hegarty
3bc69d393d 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:54:13 +01:00
Chris Hegarty
b6eef64a98 8047149: Enhance thread contexts in core libraries
Reviewed-by: alanb
2015-04-02 11:43:11 +01:00
Martin Buchholz
5e65c0f984 8063147: Class.getFields spec should state that fields are inherited from superinterfaces
Reviewed-by: psandoz, chegar
2014-11-06 13:29:36 -08:00
Coleen Phillimore
3e5a530aff 8015256: Better class accessibility
Improve protection domain check in forName()

Reviewed-by: mchung, acorn, jdn
2014-07-22 16:24:48 +04:00
Alexander Zuev
6037f786bb 8041529: Better parameterization of parameter lists
Reviewed-by: twisti, ahgross
2014-05-08 21:09:57 +04:00