10728 Commits

Author SHA1 Message Date
Doug Lea
d9d91c1cc4 8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
Reviewed-by: martin, psandoz
2017-10-03 13:45:11 -07:00
Doug Lea
c6e3667228 8187408: AbstractQueuedSynchronizer wait queue corrupted when thread awaits without holding the lock
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:37:01 -07:00
Doug Lea
dfce305868 8188241: Improve numerical code in StampedLock example code
Reviewed-by: martin, psandoz, darcy
2017-10-03 13:32:04 -07:00
Bhavesh Patel
feab9efa52 8074407: javadoc: using <pre> after @deprecated tag causes warnings
Reviewed-by: jjg, ksrini
2017-10-03 12:58:49 -07:00
Bhavesh Patel
448718c0af 8169819: minor cleanup for deprecated page
Reviewed-by: jjg, ksrini
2017-10-02 14:49:46 -07:00
Bernard Blaser
47e2972a64 8187978: javac can show overload error messages that include non-valid candidates
Reviewed-by: mcimadamore
2017-10-02 10:04:22 -07:00
Maurizio Cimadamore
870b0834fe 8188144: regression in method reference type-checking
Method reference checking prefers unbound lookup when both searches produce same results

Reviewed-by: vromero
2017-10-02 12:29:44 +01:00
Serguei Spitsyn
b4347ad825 Merge 2017-09-30 00:14:39 +00:00
Serguei Spitsyn
8f9b248011 Merge 2017-09-29 23:53:15 +00:00
Calvin Cheung
6213838f11 8138600: eliminate the need of ModuleLoaderMap.dat for CDS
Removed the code which generates the ModuleLoaderMap.dat and the code which references it

Reviewed-by: mchung, jiangli
2017-09-29 10:11:01 -07:00
Yasumasa Suenaga
858db7244e 8187402: UnknownOopException is occurred on Stack Memory window in HSDB
Reviewed-by: sspitsyn, jgeorge
2017-09-29 21:00:18 +09:00
Patric Hedlin
e31bc5637a 8188031: Complement fused mac operations on SPARC
Adding a few (FMAf) matcher patterns to the SPARC back-end

Reviewed-by: rbackman, kvn
2017-09-29 10:44:58 +02:00
Patric Hedlin
d801fa5d9d 8182279: Updating SPARC feature/capability detection to support Core C5
Renamed Core Sx to Core Cx (C3, C4, C5, according to name change).

Reviewed-by: kvn, dholmes
2017-09-29 10:41:36 +02:00
Patric Hedlin
b125aebb91 8167199: Add C2 SPARC intrinsic for BigInteger::multiplyToLen() method
Preliminary support for intrinsic multiplyToLen, including generalised version based on 'mpmul' instruction (when available).

Reviewed-by: kvn, neliasso
2017-09-29 10:40:54 +02:00
Patric Hedlin
1af1d42ac4 8011352: C1: TraceCodeBlobStacks crashes fastdebug Solaris SPARC
Handle null correctly

Reviewed-by: roland, dlong, rbackman
2017-09-29 10:40:49 +02:00
Mandy Chung
5d986605ca 8186050: StackFrame should provide the method signature
Reviewed-by: alanb, bchristi, forax, plevart
2017-09-29 11:33:08 -07:00
Srinivas Dama
f2a9034adf 8147076: LinkerCallSite.ARGLIMIT is used incorrectly
Modified ARGLIMIT

Reviewed-by: hannesw, jlaskey
2017-09-30 03:15:56 +05:30
Athijegannathan Sundararajan
fc05af8f41 8180274: Fix links in nashorn documentation
Reviewed-by: hannesw
2017-09-29 16:37:36 +05:30
Goetz Lindenmaier
a0218352fc 8188135: Fix VS 2010 build after "8187631: Refactor FileDescriptor close implementation"
Reviewed-by: dholmes, alanb
2017-09-29 10:00:58 +02:00
Athijegannathan Sundararajan
cea7897f08 8188098: NPE in SimpleTreeVisitorES6 visitor when parsing a tagged template literal
Reviewed-by: hannesw, jlaskey
2017-09-28 23:03:17 +05:30
Athijegannathan Sundararajan
b0e9c95b72 8188082: autoimports.js sample is broken
Reviewed-by: hannesw, jlaskey
2017-09-28 18:30:35 +05:30
Bhavesh Patel
6db0190cb5 8186332: Fix method signature in method summary table
Reviewed-by: jjg, ksrini
2017-09-27 16:47:07 -07:00
Joe Darcy
5d2a4c319a 8187982: Update SourceVersion to mention restricted keywords
Reviewed-by: mcimadamore
2017-09-27 14:23:41 -07:00
Mandy Chung
24d81d3f2e 6373396: (cl spec) clarify spec of ClassLoader.getPackages() about run-time package
Reviewed-by: psandoz
2017-09-27 12:44:06 -07:00
Claes Redestad
0355224df8 8187826: Avoid using reflection to bootstrap NamedFunctions
Reviewed-by: psandoz
2017-09-27 17:56:00 +02:00
Hannes Wallnöfer
2e46c1508a 8186815: Java.from has a bug, when element is ScriptObject
Reviewed-by: sundar, jlaskey
2017-09-27 17:09:52 +02:00
Athijegannathan Sundararajan
a00dba8a16 8188023: Avoid -source and -target javac options in nashorn ant compilation
Reviewed-by: jlaskey, hannesw
2017-09-27 18:40:37 +05:30
Hannes Wallnöfer
047f60b678 8187962: Optimistic types ignore JavaAdapter return types
Reviewed-by: sundar, attila
2017-09-27 14:56:19 +02:00
Philipp Kunz
2ae9614d34 6695402: Jarsigner with multi-byte characters in class names
Reviewed-by: weijun
2017-09-27 14:02:15 +08:00
Bhavesh Patel
385c583ed1 8183511: improve style for deprecated text
Reviewed-by: jjg, ksrini
2017-09-26 20:03:48 -07:00
Rob McKenna
1fc8d0cfd9 8184328: JDK 8u131 socketRead0 hang at SSL read
Reviewed-by: xuelei, chegar, coffeys
2017-09-26 19:19:09 +01:00
Vyom Tewari
99b202b398 8185072: network006 times out in many configs in JDK10-hs nightly
Reviewed-by: chegar, rriggs
2017-09-26 20:34:10 +05:30
Athijegannathan Sundararajan
06e15f6982 8187965: dynalink samples under $jdk10/src/sample/nashorn/dynalink are broken
Reviewed-by: jlaskey, hannesw
2017-09-26 20:29:13 +05:30
Maurizio Cimadamore
c825188cd8 8177466: Add compiler support for local variable type-inference
Add support for 'var' in implicitly typed local variable declarations

Reviewed-by: vromero, jlahoda
2017-09-26 12:52:53 +01:00
Vyom Tewari
02ba926da2 8159526: Deprivilege jdk.httpserver
Reviewed-by: chegar, alanb, michaelm, mchung
2017-09-26 15:08:56 +05:30
Serguei Spitsyn
195531f733 8177901: JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on checking for an interface
Add synchronization between CommandLoop and cbVMDeath callback

Reviewed-by: dholmes, dcubed
2017-09-26 00:52:29 -07:00
Goetz Lindenmaier
92fc72a86b 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: ihse, dholmes
2017-09-25 23:42:58 -04:00
Srinivas Dama
2dc0eaaa4b 8185257: Nashorn AST is missing nodes when a for-loop contains a VariableDeclarationList
Var declaration in for loop removed from block scope in es6 mode

Reviewed-by: hannesw, sundar
2017-09-26 07:00:43 +05:30
Mikael Gerdin
04b79fa8f3 8187040: ThreadCritical crashes on Solaris if used between os::init and os::init_2
Reviewed-by: dholmes, stuefe
2017-09-25 21:25:46 -04:00
Jesper Wilhelmsson
1b0c9f4ae7 Merge 2017-09-25 19:54:58 +00:00
Martin Doerr
d0dc2dd231 8185979: PPC64: Implement SHA2 intrinsic
Co-authored-by: Bruno Rosa <bruno.rosa@eldorado.org.br>
Co-authored-by: Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br>
Co-authored-by: Igor Nunes <igor.nunes@eldorado.org.br>
Reviewed-by: mdoerr, goetz
2017-09-25 17:40:06 +02:00
Athijegannathan Sundararajan
551d0689ed 8187934: dropping a shebang script in src/sample/nashorn directory results in test failure
Reviewed-by: hannesw, jlaskey
2017-09-25 20:32:44 +05:30
Srinivas Dama
dca8480e87 8186011: Fix samples/java_completion.js and samples/disassemble.js
Replaced continuation property to method as API changed and removed invalid test in jdk9 modular system

Reviewed-by: hannesw, sundar
2017-09-26 00:37:37 +05:30
Gustavo Serra Scalet
521c3ea430 8185976: PPC64: Implement MulAdd and SquareToLen intrinsics
This implementation is based on the algorithm implemented in java. It yields a performance speedup of: JDK8: 23% JDK9: 5% JDK10: 5%

Reviewed-by: mdoerr, goetz
2017-09-25 09:37:43 +02:00
Goetz Lindenmaier
a17ce440a5 8187547: PPC64: icache invalidation is incorrect in some places
Reviewed-by: mdoerr, goetz
2017-09-25 08:43:43 +02:00
Sergey Bylokhov
97d93fe4d8 8187442: Xcheck:jni produces various "WARNING in native method" in launcher
Reviewed-by: ksrini, dholmes
2017-09-22 15:32:09 -07:00
John R Rose
f98aab0db9 8185993: MethodHandle.invokeWithArguments jumbo-arity
Reviewed-by: psandoz, vlivanov
2017-09-22 15:28:16 -07:00
Jan Lahoda
b45c9233a4 8044853: Attr synthesizes nullcheck tree nodes
Avoid move of JCNewClass.encl to args in front end phases.

Reviewed-by: jjg
2017-09-22 14:06:11 +02:00
Priya Lakshmi Muthuswamy
de9651c66a 8181792: nashorn samples/exec.js has some incorrect examples
Reviewed-by: sundar, hannesw
2017-09-22 12:00:41 +02:00
Priya Lakshmi Muthuswamy
6c1410fffa 8186180: Symbol.__proto__ results in error with format string placeholder
Reviewed-by: sundar, hannesw
2017-09-22 11:52:38 +02:00