1024 Commits

Author SHA1 Message Date
Lana Steuck
90a60b04c7 Merge 2015-12-02 09:37:26 -08:00
Athijegannathan Sundararajan
4a435bea6c 8144473: Nashorn code assumes NashornCallSiteDescriptor always
Reviewed-by: hannesw, mhaupt
2015-12-02 16:19:15 +05:30
Iris Clark
1ad5b907b1 Merge 2015-11-29 20:30:01 -08:00
Hannes Wallnöfer
9739ad81ee 8144131: ArrayData.getInt implementations do not convert to int32
Reviewed-by: lagergren, sundar
2015-11-27 08:44:02 +01:00
Athijegannathan Sundararajan
67506cb74c 8144160: Regression: two tests fail on Windows with "ant test" target
Reviewed-by: hannesw, mhaupt
2015-11-27 13:41:40 +05:30
Michael Haupt
769f47e66f 8143642: Nashorn shebang argument handling is broken
Reviewed-by: hannesw, sundar
2015-11-26 12:01:41 +01:00
Attila Szegedi
505e5097e6 8141338: Move jdk.internal.dynalink package to jdk.dynalink
Reviewed-by: hannesw, sundar
2015-11-24 10:19:34 +01:00
Hannes Wallnöfer
f22e763e60 8141407: Wrong evaluation of a != a when a = NaN
Reviewed-by: sundar, attila
2015-11-23 15:26:10 +01:00
Iris Clark
b60b3b7285 Merge 2015-11-19 14:01:43 -08:00
Hannes Wallnöfer
bc8fbeee55 8143304: Random failures when script size exceeds token limits
Reviewed-by: sundar, attila, lagergren
2015-11-19 14:37:14 +01:00
Michael Haupt
4897df19a3 8143297: Nashorn compilation time reported in nanoseconds
Reviewed-by: hannesw, sundar
2015-11-19 11:28:34 +01:00
Hannes Wallnöfer
9e8fa2b8c2 8131929: Add option for debuggable scopes
Reviewed-by: attila, lagergren
2015-11-18 17:12:47 +01:00
Iris Clark
25d5c9c97f Merge 2015-11-16 20:16:55 -08:00
Attila Szegedi
e67cae2407 8142924: ES6 symbols created with Symbol.for should deserialize to canonical instances
Reviewed-by: hannesw, lagergren, sundar
2015-11-13 16:21:22 +01:00
Hannes Wallnöfer
898d1b3cf0 8142864: Raw types warning in WeakValueCache
Reviewed-by: mhaupt, attila
2015-11-12 19:31:22 +01:00
Hannes Wallnöfer
13dbf6a119 8141702: Add support for Symbol property keys
Reviewed-by: attila, sundar
2015-11-11 16:28:17 +01:00
Hannes Wallnöfer
15ef19ee62 8010803: Number to String conversion functionality overhaul
Reviewed-by: attila, lagergren
2015-11-11 15:22:14 +01:00
Attila Szegedi
534ff3deff 8142422: Smaller Dynalink API adjustments
Reviewed-by: hannesw, sundar
2015-11-11 14:54:09 +01:00
Chris Hegarty
fe552c2f39 8140606: Update library code to use internal Unsafe
Reviewed-by: alanb, mchung, psandoz, weijun
2015-11-11 11:32:15 +00:00
Iris Clark
3b0c6b949c Merge 2015-11-09 10:57:08 -08:00
Attila Szegedi
75d6c996f1 8141550: Introduce a command line option instead of nashorn.unstable.relink.threshold system property
Reviewed-by: hannesw, sundar
2015-11-09 15:37:07 +01:00
Attila Szegedi
e3ea5caf72 8141538: Make DynamicLinker specific to a Context in Nashorn
Reviewed-by: hannesw, sundar
2015-11-09 14:04:43 +01:00
Attila Szegedi
87a85f53d6 8141541: Simplify Nashorn's Context class loader handling
Reviewed-by: hannesw, sundar
2015-11-09 14:03:37 +01:00
Attila Szegedi
31437f54c2 8141446: Cache Class.forName for permanently loaded classes
Reviewed-by: hannesw, mhaupt, sundar
2015-11-05 15:02:36 +01:00
Attila Szegedi
51f33e9a51 8141524: CompilerTest execution time dominated by Field.setAccessible
Reviewed-by: hannesw, mhaupt, sundar
2015-11-05 12:15:40 +01:00
Attila Szegedi
8fa1d710b7 8141425: Improve caching in NashornCallSiteDescriptor
Reviewed-by: hannesw, lagergren
2015-11-05 12:13:36 +01:00
Athijegannathan Sundararajan
5532631558 8141285: NameCode should pass tests from BytecodeNameTest.java
Reviewed-by: attila, mhaupt
2015-11-03 21:08:53 +05:30
Attila Szegedi
44740462f8 8141144: Move NameCodec to jdk.nashorn.internal space
Reviewed-by: hannesw, sundar
2015-11-02 18:26:53 +01:00
Iris Clark
58e8e35f4b Merge 2015-11-01 09:49:14 -08:00
Andreas Woess
d65a7b5c34 8134941: Implement ES6 template literal support
Reviewed-by: attila, hannesw
2015-10-28 10:54:05 +01:00
Iris Clark
0c347421d9 Merge 2015-10-25 19:16:51 -07:00
Attila Szegedi
06ebd4f0e2 8140273: restore use of CompositeOperation.contains where it is needed
Reviewed-by: hannesw, sundar
2015-10-22 10:43:10 +02:00
Attila Szegedi
fe13034c1d 8139931: Introduce Operation objects in Dynalink instead of string encoding
Reviewed-by: hannesw, sundar
2015-10-21 19:33:58 +02:00
Attila Szegedi
df445c6578 8139919: Make CallSiteDescriptor a concrete class
Reviewed-by: hannesw, lagergren, sundar
2015-10-21 10:42:20 +02:00
Attila Szegedi
b49c5c8b09 8139905: Add a convenience AccessControlContext factory
Reviewed-by: hannesw, sundar
2015-10-21 10:41:54 +02:00
Attila Szegedi
d62fb19270 8139895: Introduce GuardingDynamicLinkerExporter
Reviewed-by: hannesw, sundar
2015-10-20 23:34:46 +02:00
Attila Szegedi
d2229f28fe 8139888: Improve Dynalink JavaDoc some more
Reviewed-by: hannesw, sundar
2015-10-20 23:34:16 +02:00
Attila Szegedi
4b535d31c4 8139887: Reduce visibility of few methods in TypeUtilities and Guards API
Reviewed-by: hannesw, sundar
2015-10-20 23:33:39 +02:00
Attila Szegedi
f12273ae3b 8139761: Improve Dynalink class nomenclature and package organization
Reviewed-by: hannesw, sundar
2015-10-20 23:33:18 +02:00
Attila Szegedi
3d0ec10abd 8139884: Use privileged blocks when working with class loaders
Reviewed-by: hannesw, mhaupt, sundar
2015-10-19 22:36:03 +02:00
Attila Szegedi
cabd8f2f06 8139756: Eliminate GuardedTypeConversion, DynamicLinker.getCurrentLinkRequest and its associated permission
Reviewed-by: hannesw, sundar
2015-10-19 18:24:47 +02:00
Athijegannathan Sundararajan
6671d2c38d 8139852: jjs interactive mode fails to work with security manager
Reviewed-by: attila, hannesw
2015-10-19 15:49:21 +05:30
Attila Szegedi
3bbcdaa0b2 8139590: Improve Dynalink JavaDoc
Reviewed-by: hannesw, lagergren
2015-10-19 08:45:29 +02:00
Attila Szegedi
57a2ec80e9 8139588: Remove concept of runtime context arguments, call site tokens, and link counts
Reviewed-by: hannesw, sundar
2015-10-19 08:39:06 +02:00
Attila Szegedi
8f8c3ea091 8139435: Make sure CallSiteDescriptor.getLookup is subject to a security check
Reviewed-by: hannesw, sundar
2015-10-19 08:30:03 +02:00
Attila Szegedi
eba30098f8 8139304: Remove elaborate call site descriptor class hierarchy and factory for them. Remove AutoDiscovery, DefaultPrelinkFilter, and BottomGuardingDynamicLinker as they can be inlined into DynamicLinkerFactory. Remove CallerSensitiveDetector as it can be inlined into AbstractJavaLinker. Make ClassMap non-public
Reviewed-by: hannesw, sundar
2015-10-19 08:23:03 +02:00
Attila Szegedi
d546e9e360 8139282: Remove @author and @id tags from Dynalink JavaDoc; some minor edits
Reviewed-by: mhaupt, sundar
2015-10-12 14:52:47 +02:00
Attila Szegedi
89fa209a47 8139270: Drastically reduce memory footprint of ChainedCallSite
Reviewed-by: hannesw, sundar
2015-10-12 13:44:38 +02:00
Attila Szegedi
5dd8a5bcfe 8139274: Use JDK 8 default method for LinkerServices.asTypeLosslessReturn
Reviewed-by: lagergren, sundar
2015-10-12 10:28:27 +02:00
Attila Szegedi
26f00c8261 8139273: Small improvements to DynamicLinker and DynamicLinkerFactory
Reviewed-by: lagergren, sundar
2015-10-12 10:27:32 +02:00