Commit Graph

173 Commits

Author SHA1 Message Date
Chris Hegarty
42fa4e4cc3 8153181: Move sun.misc.VMSupport to an internal package
Reviewed-by: alanb, mchung
2016-04-03 16:28:41 +01:00
Alexander Zvegintsev
c661c227e2 8143227: Platform-Specific Desktop Features
Reviewed-by: prr, serb
2016-03-24 02:22:01 +03:00
Jesper Wilhelmsson
d9415fe792 Merge 2016-03-23 20:14:36 +01:00
Phil Race
03338de544 Merge 2016-03-22 13:10:07 -07: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
David Dehaven
428cdf9465 Merge 2016-03-11 11:42:43 -08:00
David Dehaven
481e6102b8 Merge 2016-03-11 09:16:55 -08:00
Rajeev Chamyal
c4c2df3247 8145174: HiDPI splash screen support on Linux
Reviewed-by: serb, alexsch
2016-03-11 11:00:38 +05:30
David Dehaven
ddd9185c51 Merge 2016-03-07 16:38:23 -08:00
Prasanta Sadhukhan
e9a6360272 8058316: lookupDefaultPrintService returns null on Solaris 11
Reviewed-by: prr, jdv
2016-03-07 11:54:42 +05:30
Alejandro Murillo
dbc5e5d48d Merge 2016-03-05 20:46:44 -08:00
Coleen Phillimore
d0426d7d41 8150778: Reduce Throwable.getStackTrace() calls to the JVM
Replace JVM_GetStackTraceDepth and JVM_GetStackTraceElement, with JVM_GetStackTraceElements that gets all the elements in the StackTraceElement[]

Reviewed-by: dfuchs, mchung, shade, hseigel
2016-03-10 14:20:59 -05:00
Chris Hegarty
d6208a2b4a 8150162: Move sun.misc.Version to a truly internal package
Reviewed-by: alanb, iris, mchung, rriggs
2016-03-03 12:07:13 +00:00
Markus Grönlund
85ee898a02 8143235: Remove libjfr mapfile
Reviewed-by: jbachorik, egahlin
2016-03-01 23:54:05 +01:00
Alejandro Murillo
36d5ceb3eb Merge 2016-02-23 18:57:08 -08:00
Yingqi Lu
4dfed66526 6432031: Add support for SO_REUSEPORT
Reviewed-by: alanb, simonis, chegar
2016-02-23 17:41:00 +00:00
Alejandro Murillo
d147a661d8 Merge 2016-02-18 15:19:41 -08:00
Roger Riggs
1ea7533dbf 8149750: Decouple sun.misc.Signal from the base module
Reviewed-by: chegar, dholmes
2016-02-18 14:44:50 -05:00
Mikael Vidstedt
7f395c26ab 8141491: Unaligned memory access in Bits.c
Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory

Reviewed-by: jrose, dholmes, psandoz
2016-02-10 15:20:41 -08:00
Tobias Hartmann
6af2f8f8c4 Merge 2016-01-15 09:15:33 +01:00
Konstantin Shefov
13e2eedb5f 8141615: Add new public methods to sun.reflect.ConstantPool
Reviewed-by: twisti, iignatyev, coleenp
2016-01-12 17:03:06 +03:00
Chris Hegarty
0c7d3be7a8 8146484: Examine sun.misc.MessageUtils
Reviewed-by: alanb, mchung, sherman
2016-01-06 17:40:48 +00:00
Chris Hegarty
aa0ef2e9f5 8145544: Move sun.misc.VM to jdk.internal.misc
Reviewed-by: alanb, mullan, weijun
2016-01-06 10:01:44 +00:00
Xueming Shen
2b91819eec 8145260: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk [2]
Reviewed-by: coffeys
2015-12-14 09:27:15 -08:00
Brian Burkhalter
30abf404b3 8139133: Changing the modification time on a unix domain socket file fails
If a file descriptor cannot be obtained, use utimes() instead of futimes().

Reviewed-by: alanb
2015-12-10 15:57:27 -08:00
Phil Race
c410a92fed Merge 2015-12-02 11:22:27 -08:00
Lana Steuck
af7402f069 Merge 2015-12-02 09:34:55 -08:00
Phil Race
214c48d9d2 Merge 2015-12-02 09:15:12 -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
557f4f366f 8143931: Back out JDK-8140450
Reviewed-by: coleenp
2015-11-24 10:12:32 -08: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
Phil Race
301586f462 8143177: Integrate harfbuzz opentype layout engine per JEP 258
Reviewed-by: srl, vadim, serb
2015-11-23 09:58:44 -08:00
Iris Clark
b1b246fa7b Merge 2015-11-19 14:00:49 -08:00
Phil Race
5f60908938 Merge 2015-11-17 13:09:16 -08:00
Alexander Scherbatiy
d48c3fcafb 8137571: Linux HiDPI Graphics support
Reviewed-by: flar, serb
2015-11-13 18:36:14 +04:00
Nils Eliasson
aa89658abd Merge 2015-11-06 11:34:03 +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
Iris Clark
b7cb99d927 Merge 2015-10-25 19:16:39 -07:00
Bob Vandette
3dc2d02585 8136556: Add the ability to perform static builds of MacOSX x64 binaries
Reviewed-by: ihse, bdelsart, gadams, lfoltan, rriggs, hseigel, twisti
2015-10-19 13:41:09 -04:00
Joe Darcy
655a976e65 8136799: Port fdlibm cbrt to Java
Reviewed-by: bpb
2015-10-14 16:17:08 -07:00
Iris Clark
3e5db5fac5 Merge 2015-10-05 20:55:53 -07:00
Iris Clark
d0bbb6c588 Merge 2015-09-29 11:46:31 -07:00
Joe Darcy
47814c8df0 7130085: Port fdlibm hypot to Java
Reviewed-by: bpb
2015-09-23 14:14:14 -07:00
Rob McKenna
7127fab647 8133249: Occasional SIGSEGV: non thread-safe use of strerr in getLastErrorString
Reviewed-by: igerasim, rriggs, christos
2015-10-01 00:13:09 +01:00
Iris Clark
01c0b611a3 Merge 2015-09-21 21:40:23 -07:00
Joe Darcy
67603e6d54 8134795: Port fdlibm pow to Java
Reviewed-by: bpb
2015-09-17 13:43:06 -07:00
Iris Clark
2bfa80503f Merge 2015-09-14 10:00:25 -07:00
Alejandro Murillo
556157743b Merge 2015-09-10 14:55:20 -07:00
Ivan Gerasimov
50aa8839d5 8072466: Deadlock when initializing MulticastSocket and DatagramSocket
Reviewed-by: chegar
2015-09-09 16:33:19 +03:00
Iris Clark
9e0d78c661 Merge 2015-09-08 10:25:11 -07:00
Jesper Wilhelmsson
a97c863c3d Merge 2015-09-08 16:10:36 +02:00
Jim Laskey
953b4a3225 8087181: Move native jimage code to its own library (maybe libjimage)
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Reviewed-by: alanb, lfoltan, hseigel, acorn
2015-09-04 10:11:43 -03:00
Valerie Peng
a8cbc27bce 8132082: Let OracleUcrypto accept RSAPrivateKey
Reviewed-by: xuelei, valeriep, coffeys
2015-09-04 15:28:01 +03:00
Brian Burkhalter
44c462ee50 8133987: (fs) Rename GnomeFileTypeDetector to GioFileTypeDetector
Rename class and associated native file as indicated and fix some related comments in the source and test.

Reviewed-by: alanb
2015-08-28 10:46:43 -07:00
Iris Clark
7c55ca4ce4 Merge 2015-08-25 14:45:26 -07:00
Iris Clark
8db18e0442 Merge 2015-08-17 13:02:48 -07:00
Alejandro Murillo
d8f13cb1d1 Merge 2015-08-13 15:50:52 -07:00
Brian Burkhalter
10207de32f 8065595: Wrong JNI_OnLoad called if just loaded lib does not have JNI_OnLoad function
Add nio_util.c containing JNI_OnLoad bare bones implementation.

Reviewed-by: rriggs
2015-08-13 09:36:14 -07:00
Staffan Larsen
48c33a4389 Merge 2015-08-10 13:34:55 +00:00
Staffan Larsen
de0713848b 8076470: Remove the JVM TI hprof Agent
Reviewed-by: sspitsyn, mchung, erikj
2015-08-10 13:08:55 +02:00
Brian Burkhalter
ba6e733ede 8129633: (fs) Investigate removing the GNOME-based FileTypeDetector from the Linux and Solaris implementations
Remove the GNOME VFS detector leaving the libgio detector in place.

Reviewed-by: chegar
2015-08-06 12:35:59 -07:00
Iris Clark
636d3c2d95 Merge 2015-07-23 13:19:54 -07:00
Roger Riggs
9bb445c368 Merge 2015-07-14 22:21:52 -04:00
Alejandro Murillo
1d7da049eb Merge 2015-07-14 16:29:08 -07:00
Roger Riggs
8477d88b81 8078099: (process) ProcessHandle should uniquely identify processes
8078108: (process) ProcessHandle.isAlive should be robust

IsAlive should check and confirm the start time

Reviewed-by: simonis, plevart
2015-07-14 15:35:37 -04:00
Daniel D. Daugherty
fd67ab1042 Merge 2015-07-09 14:48:12 -07:00
Henry Jen
eaa42993db 8027634: Support @argfiles for java command-line tool
Reviewed-by: ksrini, mchung
2015-07-08 23:26:48 -07:00
Sergey Bylokhov
2e3073a8ab 8130525: Build fail on jdk9-client solaris-sparcv9
Reviewed-by: azvegint
2015-07-06 18:15:02 +03:00
Zoltan Majo
94d36649af 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
Annotate possibly intrinsified methods with @HotSpotIntrinsicCandidate. Add checks omitted by intrinsics to the library code. Add CheckIntrinsics flags to check consistency of intrinsics.

Reviewed-by: jrose, kvn, thartmann, vlivanov, abuckley, darcy, ascarpino, briangoetz, alanb, aph, dnsimon
2015-07-03 07:23:45 +02:00
Iris Clark
adff8dc21e Merge 2015-06-29 11:28:02 -07:00
Sergey Bylokhov
561c4e223c 8014241: Clean up unused JNI fields and methods in imageInitIDs.h
Reviewed-by: azvegint, prr
2015-06-26 12:38:39 +03:00
Jean-Francois Denise
30cacaa5c9 8080511: Refresh of jimage support
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:24:39 +02:00
Alejandro Murillo
c23fcc8a3e 8087202: Add support for PATCH field and remove unused fields of new version string
Reviewed-by: dholmes, alanb
2015-06-19 10:58:00 -07:00
Volker Simonis
9a8eaa367e 8081674: EmptyStackException at startup if running with extended or unsupported charset
Reviewed-by: mchung, alanb
2015-06-11 17:29:09 +02:00
Sean Coffey
4ae5f74173 8072384: Setting IP_TOS on java.net sockets not working on unix
Reviewed-by: michaelm
2015-06-04 18:16:25 +01:00
Roger Riggs
103d99baf1 8077350: JEP 102 Process API Updates Implementation
Reviewed-by: chegar, plevart, psandoz, darcy, martin, alanb
2015-05-29 14:04:12 -04:00
Alejandro Murillo
c185e9a5bf Merge 2015-05-01 03:56:04 -07:00
Shanliang Jiang
b705686a86 8042901: Allow com.sun.management to be in a different module to java.lang.management
Reviewed-by: mchung, dfuchs, erikj, jbachorik
2015-04-17 09:40:02 +02:00
Roger Riggs
adc0b9b8aa 8076184: Cleanup compile/link warnings on Solaris
Cleanup reorder-sparc* and jni_util.c files

Reviewed-by: erikj, alanb
2015-03-30 09:45:39 -04:00
Roman Kennke
08af89e08e 8072436: Refactor X11FontManager
Factor fontconfig related code out of X11FontManager into its own superclass FcFontManager.

Reviewed-by: prr, serb
2015-03-04 15:42:02 +01:00
Sergey Bylokhov
8929d90866 8072665: SoundLibraries.gmk and SoundDefs.h: remove isSigned8() dead code
Reviewed-by: erikj, ihse, alexsch
2015-02-19 18:47:55 +03:00
Roger Riggs
aa6b19f38e 8071481: (Process) Merge UNIXProcess.java into ProcessImpl.java
Simplify source files for Unix Process implementation

Reviewed-by: plevart, chegar
2015-01-26 10:55:27 -05:00
Chris Hegarty
441905cdc7 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@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>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:22:58 +00:00
Ivan Gerasimov
b051027d6f 8023173: FileDescriptor should respect append flag
Reviewed-by: martin, alanb, rriggs
2014-10-28 15:36:27 +03:00
Alejandro Murillo
f0c02512ea Merge 2014-10-21 13:56:58 -07:00
Alejandro Murillo
d89ff24e1a Merge 2014-10-17 07:58:57 -07:00
Kirk Shoop
d03eadea27 8060170: Support SIO_LOOPBACK_FAST_PATH option on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-10-19 11:52:53 +01: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
Markus Grönlund
8848e6168c 8055662: Update mapfile for libjfr
Reviewed-by: egahlin, sla
2014-10-07 15:16:17 +02:00
Mandy Chung
6533d2dc01 8055230: Rename attach provider implementation class be platform neutral
Reviewed-by: alanb, chegar, dfuchs, dholmes, erikj, sla
2014-08-26 14:35:33 -07:00
Chris Hegarty
27d481fa82 8055955: (ch) Remove unnecessary initialization of InetAddress from FileChannel
Reviewed-by: alanb
2014-08-26 10:19:56 +01:00
Brian Burkhalter
0bbb54fff6 8054720: Modifications of I/O methods for instrumentation purposes
Wrap some native methods in Java methods.

Reviewed-by: rriggs
2014-08-20 11:30:13 -07:00
Phil Race
faa69ed489 Merge 2014-07-16 15:12:24 -07:00
Phil Race
250c5c42e6 Merge 2014-07-16 12:48:42 -07:00
Phil Race
d7f59acb44 8048328: CUPS Printing does not report supported printer resolutions
Reviewed-by: bae, jgodinez
2014-07-11 11:12:59 -07:00
Alexander Scherbatiy
c0c1d91633 8043869: [macosx] java -splash does not honor @2x hi dpi notation for retina support
Reviewed-by: pchelko, anthony, ksrini
2014-06-25 19:10:32 +04:00
Phil Race
c878d790d1 Merge 2014-06-18 13:14:15 -07:00
Erik Joelsson
1aedcf6983 8077419: Launcher mapfile fails linking with SS12u4
Reviewed-by: tbell, dholmes, ihse
2015-04-14 14:22:13 +02:00
Dmitry Samersoff
c201595a62 8041498: Remove npt library
Get rid of npt library and move utf-related code to share/backend

Reviewed-by: sla
2014-06-16 07:25:11 -07:00
Sergey Bylokhov
b7b41fb089 8046245: JDK 9 client build failure on Solaris
Reviewed-by: prr
2014-06-09 13:03:03 +04:00