214 Commits

Author SHA1 Message Date
Roger Riggs
197207b152 8138696: java.lang.ref.Cleaner - an easy to use alternative to finalization
Reviewed-by: mchung, mr, chegar, plevart, kbarrett, dholmes
2015-12-21 11:34:14 -05:00
Claes Redestad
4e062cde34 8144723: MethodHandleImpl.initStatics is no longer needed
Reviewed-by: vlivanov, mhaupt, forax
2015-12-19 02:24:27 +01:00
Chris Hegarty
355dac1a4c 8056152: API to create Threads that do not inherit inheritable thread-local initial values
Reviewed-by: alanb, dholmes, mchung, mr, rriggs
2015-12-18 16:06:24 +00:00
Aleksey Shipilev
acc5017a2e 8145428: Optimize StringUTF16 compress/copy methods for C1
Reviewed-by: redestad, psandoz, sherman, rriggs
2015-12-17 20:42:01 +03:00
Joel Borggrén-Franck
5c29ca104e 8057804: AnnotatedType interfaces provide no way to get annotations on owner type
Reviewed-by: darcy, redestad
2015-12-16 20:00:03 +01:00
Chris Hegarty
6853999d56 8145416: Move sun.misc.ProxyGenerator to java.lang.reflect
Reviewed-by: alanb, mchung, rriggs
2015-12-16 08:42:00 +00:00
Mandy Chung
c7bbc840f5 8145430: Fix typo in StackWalker javadoc
Reviewed-by: dfuchs, darcy
2015-12-15 13:02:01 -08:00
Claes Redestad
d37bb2422b 8143127: InvokerBytecodeGenerator emitConst should handle Byte, Short, Character
Reviewed-by: vlivanov, shade, forax
2015-12-09 18:25:36 +01:00
Alejandro Murillo
8d7fe09e10 Merge 2015-12-03 22:30:21 -08:00
Michael Haupt
03e64cef7b 8143343: add JEP 274 Javadoc tests to JavaDocExamplesTest
Reviewed-by: sundar
2015-12-03 15:36:20 +01:00
Michael Haupt
d66865cb0f 8072844: Use more efficient LambdaForm type representation
Reviewed-by: sundar, redestad
2015-12-03 15:34:39 +01:00
Roger Riggs
bdca5d5f82 8143876: test/java/lang/ProcessHandle/TreeTest.java failed intermittently with assertion error
The parent pid may be re-used, check that the child was started after the parent

Reviewed-by: darcy
2015-12-02 09:40:14 -05:00
Claes Redestad
7010cf730d 8143131: Remove unused code from java.lang.invoke
Reviewed-by: vlivanov, jrose, mhaupt
2015-12-02 12:28:24 +01:00
Nils Eliasson
072a8dc245 Merge 2015-12-01 19:18:46 +01:00
Alejandro Murillo
b068c21ff1 Merge 2015-11-30 13:55:09 -08:00
Jesper Wilhelmsson
a5b3e891de Merge 2015-11-30 18:40:06 +01:00
Tobias Hartmann
4dd2fac63c 8142303: C2 compilation fails with "bad AD file"
Move range checks into intrinsics for String methods.

Reviewed-by: kvn, aph
2015-11-27 09:37:33 +01:00
Michael Haupt
063afcee2f 8143798: jck failures: api/java_lang/invoke/MethodHandle/index_MethodsTests[asSpreaderWMTE]: java.lang.VerifyError: Bad type on operand stack
Reviewed-by: vlivanov
2015-11-25 09:23:07 +01:00
Mandy Chung
6c2e3ff586 8143967: The stream state check should handle unsigned anchor value
Reviewed-by: dfuchs, dcubed, coleenp, sspitsyn
2015-11-24 15:30:58 -08:00
Mandy Chung
eb2c6c52bb 8143911: Reintegrate JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-24 15:05:58 -08:00
Christian Tornqvist
a45dc82702 Merge 2015-11-24 18:32:38 +00:00
Christian Tornqvist
557f4f366f 8143931: Back out JDK-8140450
Reviewed-by: coleenp
2015-11-24 10:12:32 -08:00
Chris Hegarty
a5f7704c26 8140687: Move @Contended to the jdk.internal.vm.annotation package
Reviewed-by: alanb, dholmes, psandoz, shade
2015-11-24 11:50:20 +00:00
Aleksey Shipilev
7fafbde248 8136500: Integer/Long getChars and stringSize should be more idiomatic
Reviewed-by: igerasim, sherman, psandoz, jrose
2015-11-24 19:02:33 +03:00
Mandy Chung
500a73cdb1 8140450: Implement JEP 259: Stack-Walking API
Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Hamlin Li <huaming.li@oracle.com>
Reviewed-by: coleenp, dfuchs, bchristi, psandoz, sspitsyn
2015-11-23 12:44:50 -08:00
Xueming Shen
f9fa8afa11 8143553: StringBuffer.getByte(byte[], int, byte) should be package private (not protected)
Reviewed-by: thartmann
2015-11-23 10:36:15 -08:00
Daniel Fuchs
bd8942b7a1 8140364: JEP 264 Platform Logger API and Service Implementation
Initial implementation for JEP 264 Platform Logger API and Service

Reviewed-by: mchung, psandoz, rriggs
2015-11-20 19:26:16 +01:00
Michael Haupt
5b2c88e28a 8139885: implement JEP 274: enhanced method handles
Reviewed-by: jrose, psandoz, vlivanov
2015-11-20 15:34:12 +01:00
Xueming Shen
969487d380 8143330: Two implementation methods of AbstractStringBuilder are mistakenly declared as "protected" in JDK9b93
Reviewed-by: darcy, alanb
2015-11-19 12:57:59 -08:00
Claes Redestad
e9b75962b3 8143232: Fix java.lang.invoke bootstrap when specifying COMPILE_THRESHOLD
Reviewed-by: vlivanov
2015-11-18 17:39:40 +01:00
Claes Redestad
42e4e0c06f 8143142: AssertionError in MethodHandleImpl
Reviewed-by: psandoz, vlivanov
2015-11-17 15:29:21 +01:00
Claes Redestad
5b5c2d0925 8142487: Cleanup sun.invoke.util.Wrapper zeroes to be both reliable and lazy
Reviewed-by: vlivanov, jrose
2015-11-17 12:43:09 +01:00
Claes Redestad
30545d614d 8142334: Improve lazy initialization of java.lang.invoke
Reviewed-by: psandoz, vlivanov, mhaupt
2015-11-17 11:51:45 +01:00
Roger Riggs
2714bdae50 8132394: (process) ProcessBuilder support for a pipeline of processes
Reviewed-by: psandoz, alanb
2015-11-13 15:48:59 -05:00
Alan Bateman
11e31407a5 8144210: Runtime.currentRuntime should be final
Reviewed-by: dl, dholmes
2015-11-29 20:27:38 +00:00
Chris Hegarty
bdbc4d15df 8140606: Update library code to use internal Unsafe
Reviewed-by: alanb, mchung, psandoz, weijun
2015-11-11 09:19:12 +00:00
Alejandro Murillo
b96356c53b Merge 2015-11-09 20:37:05 -08:00
Claes Redestad
8e73a2915d 8141677: Improve java.lang.invoke.MemberName hashCode implementation
Reviewed-by: vlivanov, psandoz, shade
2015-11-09 17:14:05 +01:00
Roger Riggs
fe2786af5f 8138566: (Process) java.lang.Process.allChildren specification clarification
8140213: Process/ProcessHandle.onExit() spec need to be improved
8140250: (process) Process.info description is inaccurate

Rename to descendants() and clarify

Reviewed-by: psandoz
2015-11-09 11:02:07 -05:00
Peter Levart
10eb29b33e 8131129: Attempt to define a duplicate BMH$Species class
Reviewed-by: mhaupt, redestad, vlivanov
2015-11-09 13:44:58 +01:00
Alejandro Murillo
7bbbc98da3 Merge 2015-11-06 11:11:53 -08:00
Claes Redestad
05e8afd0ef 8141536: MethodType field offset calculation could be lazy
Reviewed-by: vlivanov
2015-11-05 16:36:55 +01:00
Claes Redestad
6f0997408a 8141539: Avoid calculating string constants in InnerClassLambdaMetaFactory
Reviewed-by: vlivanov
2015-11-05 16:29:16 +01:00
Joe Darcy
afaeebc08d 8141359: @Deprecated on packages should be clarified
Reviewed-by: rriggs
2015-11-04 09:01:15 -08:00
Paul Sandoz
b6f45b1889 8033148: Lexicographic comparators for arrays
Reviewed-by: jrose, chegar, bchristi, mduigou
2015-11-04 16:44:38 +01:00
Tobias Hartmann
4ed5b73f3d 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:42:11 +01:00
Brent Christian
084b341c80 8138824: java.lang.String: spec doesn't match impl when ignoring case - equalsIgnoreCase(), regionMatches()
Reviewed-by: naoto, rriggs
2015-10-27 09:20:24 -07:00
Vyom Tewari
392da5db2d 8068887: java.lang.Throwable could use Collections.emptyList for suppressedException
Java.lang.Throwable could use Collections.emptyList for suppressedException

Reviewed-by: mchung, alanb, shade, redestad
2015-10-27 10:14:36 +05:30
Michael Haupt
43fd9baef4 8136967: revert all changes applied to obtain information about 8131129
Reviewed-by: sundar
2015-10-27 09:09:37 +01:00
Yuka Kamiya
0c9cabae96 8072600: Unicode 8 support
Reviewed-by: okutsu
2015-10-20 19:34:04 +09:00