Commit Graph

17 Commits

Author SHA1 Message Date
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
Martin Buchholz
a2f0fe3c94 8136583: Core libraries should use blessed modifier order
Run blessed-modifier-order script (see bug)

Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Sergey Bylokhov
9ab430a0d2 8027696: Incorrect copyright header in the tests
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
David Holmes
4ef977fec3 8014814: (str) StringBuffer "null" is not appended
Reviewed-by: alanb
2013-05-22 20:21:13 -04:00
David Holmes
4e4591b4da 8013395: StringBuffer.toString performance regression impacting embedded benchmarks
Cache a copy of the char[] to use with toString() and clear it when ever the sb content is modified

Reviewed-by: alanb, plevart, mduigou, forax
2013-05-15 00:36:03 -04:00
Stuart Marks
73e9aec3c4 8012665: add CharSequence.chars, CharSequence.codePoints
Co-authored-by: Henry Jen <henry.jen@oracle.com>
Reviewed-by: martin, alanb, ulfzibis, mduigou
2013-05-01 08:35:09 -07:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Jim Gish
a865f8b91a 6206780: (str) Forwarding append methods in String{Buffer,Builder} are inconsistent
Update StringBuilder & StringBuffer to consistently handle forwarding to AbstractStringBuilder. Some additional cleanup (removal of refs to sub-classes from AbstractStringBuilder)

Reviewed-by: chegar, alanb, mduigou
2012-10-29 16:51:59 -07:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Kelly O'Hair
f7e31fc6c2 6982137: Rebranding pass 2 - missed copyright changes
Reviewed-by: mbykov
2010-09-09 16:26:46 -07:00
Ulf Zibis
9c81e25271 6937112: String.lastIndexOf confused by unpaired trailing surrogate
Rewrite lastIndexOf for performance and correctness

Reviewed-by: sherman
2010-06-30 16:11:32 -07:00
Lana Steuck
fd45b4188c Merge 2010-05-28 12:10:14 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Martin Buchholz
3927da83d0 6952330: Fix for 6933217 broke contract of StringBuffer.ensureCapacity
Make sure to grow with size => size * 2 + 2

Reviewed-by: dholmes, chegar, ohair
2010-05-13 21:56:13 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00