846 Commits

Author SHA1 Message Date
Daniel D. Daugherty
3115b36c77 Merge 2016-04-07 10:03:48 -07:00
Doug Lea
8251bcfb71 8152433: Typo in interface Deque javadocs
Reviewed-by: martin, psandoz, forax
2016-04-07 10:01:36 -07:00
Doug Lea
fb58fda736 8152924: Improve scalability of CompletableFuture with large number of dependents
Reviewed-by: martin, psandoz
2016-04-07 09:57:08 -07:00
Masayoshi Okutsu
39befffe7d 8151431: DateFormatSymbols triggers this.clone() in the constructor
Reviewed-by: naoto, peytoia
2016-04-07 17:52:01 +09:00
Nadeesh TV
ffd9774362 8148950: Enhance ChronoField Javadoc
Made the suggested changes in the doc.

Reviewed-by: rriggs, scolebourne
2016-04-06 11:45:15 +00:00
Nadeesh TV
63fb402683 8030864: Add an efficient getDateTimeMillis method to java.time
Added epochSecond method in Chronology and overided it in IsoChronology

Reviewed-by: rriggs, scolebourne
2016-04-06 07:20:37 +00:00
Bharadwaj Yadavalli
eb1715ed7c Merge 2016-04-05 15:39:38 -04:00
Alejandro Murillo
1d713a3760 Merge 2016-04-04 13:40:23 -07:00
Jamsheed Mohammed C M
8496a7c536 8067247: Crash: assert(method_holder->data() == 0 ...) failed: a) MT-unsafe modification of inline cache
Made invoker LambdaForm instance & its compiled form lifetime tightly coupled.

Reviewed-by: vlivanov
2016-04-04 02:07:28 -07:00
Jesper Wilhelmsson
2ad8a47677 Merge 2016-04-02 05:30:48 +02:00
Claes Redestad
7f353eb42e 8152641: Plugin to generate BMH$Species classes ahead-of-time
Reviewed-by: plevart, mchung, forax, vlivanov, jrose
2016-04-01 20:28:03 +02:00
Alejandro Murillo
e380336101 Merge 2016-03-31 14:25:38 -07:00
Ivan Gerasimov
763f4898ff 8079136: Accessing a nested sublist leads to StackOverflowError
Reviewed-by: psandoz, tvaleev
2016-03-31 17:30:31 +03:00
Chris Hegarty
3c06ea62d8 8152190: Move sun.misc.JarIndex and InvalidJarIndexException to an internal package
Reviewed-by: alanb
2016-03-31 06:23:43 +01:00
Gil Tene
34abb06887 8147844: new method j.l.Thread.onSpinWait() and the corresponding x86 hotspot instrinsic
See JEP-285 for details

Co-authored-by: Ivan Krylov <ivan@azul.com>
Reviewed-by: psandoz, alanb, dholmes
2016-03-30 17:04:09 +02:00
Claes Redestad
3312808cdb 8152951: Avoid calculating the reverse of StringConcatFactory$Recipe elements
Reviewed-by: shade, vlivanov
2016-03-29 18:27:33 +02:00
Zoltan Majo
31936440a5 Merge 2016-03-29 13:43:29 +02:00
Masayoshi Okutsu
b09c81ce39 8152077: (cal) Calendar.roll does not always roll the hours during daylight savings
Reviewed-by: peytoia
2016-03-29 18:04:41 +09:00
Claes Redestad
996686aae0 8152733: Avoid creating Manifest when checking for Multi-Release attribute
Co-authored-by: Steve Drach <steve.drach@oracle.com>
Reviewed-by: psandoz, alanb
2016-03-28 22:25:32 +02:00
Doug Lea
837a779be8 8152083: Optimize TimeUnit conversions
Reviewed-by: martin, shade, forax
2016-03-28 08:53:39 -07:00
Aleksey Shipilev
1d963af553 8152698: Remove obsolete Unsafe.putOrdered{X} methods, usages, runtime and compiler support
Reviewed-by: kvn, psandoz, dl
2016-03-25 15:35:43 +03:00
Alejandro Murillo
3b0a2b4093 Merge 2016-03-24 15:53:22 -07:00
Chris Hegarty
03f0d9ab61 Merge 2016-03-24 15:34:37 +00:00
Chris Hegarty
bbadf6c0ef 8149122: Move sun.misc.URLClassPath and Resouce to an internal package
Reviewed-by: alanb, rriggs
2016-03-24 15:32:54 +00:00
Zoltan Majo
c8858ca3b6 Merge 2016-03-24 16:21:19 +01:00
Xue-Lei Andrew Fan
240f07d0fb 8152237: Support BigInteger.TWO
Reviewed-by: jnimeh, bpb, weijun
2016-03-24 12:41:24 +00:00
Chris Hegarty
b40e890e78 8152642: Remove sun.misc.Unsafe dependency from java.lang.reflect.Proxy
Reviewed-by: alanb, shade
2016-03-24 11:56:47 +00:00
Paul Sandoz
9fb30a3740 8149644: Integrate VarHandles
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Reviewed-by: coffeys, mhaupt, vlivanov
2016-03-24 11:21:21 +01:00
Paul Sandoz
4485394e3d 8149469: ByteBuffer API and implementation enhancements for VarHandles
Reviewed-by: chegar, alanb
2016-03-24 11:21:18 +01:00
Aleksey Shipilev
ccdf984e57 8150463: StringConcat MH_INLINE_SIZED_EXACT should skip storage initialization
Reviewed-by: plevart, chegar
2016-03-24 12:52:03 +03:00
Jesper Wilhelmsson
d9415fe792 Merge 2016-03-23 20:14:36 +01:00
Abhijit Roy
9057c75425 8151868: Typo in java.time.Instant until(Temporal endExclusive, TemporalUnit unit)
Reviewed-by: rriggs, lancea, scolebourne
2016-03-23 19:57:42 +05:30
Zoltan Majo
c4dfba67a0 Merge 2016-03-23 15:01:43 +01:00
Brian Burkhalter
81c1051455 8151957: ObjectInputStream - Use new convenience method for immutable Map creation during static initialization
Initialize primClasses primitive type name-to-class mapping using a new Map.of() conveience method.

Reviewed-by: lancea, redestad, smarks
2016-03-22 15:37:55 -07:00
Chris Hegarty
3dd92e7102 Merge 2016-03-22 16:02:32 +00:00
Chris Hegarty
a59bc4455b Merge 2016-03-22 16:02:25 +00:00
Tagir F. Valeev
89599944c6 8148748: ArrayList.subList().spliterator() is not late-binding
Reviewed-by: psandoz
2016-03-22 16:28:52 +01:00
Tagir F. Valeev
41786c2118 8151123: Collectors.summingDouble/averagingDouble unnecessarily call mapper twice
Reviewed-by: psandoz
2016-03-22 16:28:50 +01:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00
Nadeesh TV
d110d8b320 8032051: "ZonedDateTime" class "parse" method fails with short time zone offset ("+01")
Reviewed-by: rriggs, scolebourne
2016-03-21 14:24:11 -04:00
Zoltan Majo
2954d94462 Merge 2016-03-21 11:21:08 +01:00
Guy Delamarter
38f31bbade 8144693: Intrinsify StringCoding.hasNegatives() on SPARC
Implemented C2 instrinsic for StringCode.hasNegatives() on SPARC.

Reviewed-by: kvn, jrose, thartmann
2016-03-21 08:42:00 +01:00
Vladimir Ivanov
49b2db4ae7 8152335: Improve MethodHandle consistency
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Reviewed-by: acorn, ahgross, jrose
2016-03-18 18:07:55 -07:00
Jesper Wilhelmsson
74c006ac7f Merge 2016-03-19 01:23:44 +01:00
Alan Bateman
db4d383614 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Claes Redestad
d6328fbb3e 8152074: Avoid lambda usage in StringConcatFactory initializer
Reviewed-by: shade, forax, chegar
2016-03-17 10:26:59 +01:00
Roger Riggs
829d62738c 8085887: java.time.format.FormatStyle.LONG or FULL causes unchecked exception
8076528: LocalTime.format() throws exception when FormatStyle is LONG or FULL

Reviewed-by: sherman, scolebourne
2016-03-16 13:16:14 -04:00
Abhijit Roy
2fc3f9915c 8151063: Typo in java.lang.invoke.StringConcatFactory javadoc
Reviewed-by: prappo, rriggs
2016-03-11 12:53:10 -05:00
Sergey Ustimenko
f36012af70 8043329: Wrong variable used in java.util.Collections javadoc code
Reviewed-by: lancea, rriggs
2016-03-10 09:35:59 -05:00
Peter Levart
020a27b202 8149925: We don't need jdk.internal.ref.Cleaner any more - part1
1st part of removing legacy jdk.internal.ref.Cleaner

Reviewed-by: chegar, mchung
2016-03-09 21:17:06 +01:00