320 Commits

Author SHA1 Message Date
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
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
Andreas Woess
d65a7b5c34 8134941: Implement ES6 template literal support
Reviewed-by: attila, hannesw
2015-10-28 10:54:05 +01: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
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
Attila Szegedi
ea36ed2bc8 8139269: Do not expose prune method handles from ChainedCallSite
Reviewed-by: hannesw, lagergren
2015-10-09 18:01:09 +02:00
Michael Haupt
0b4df44eb8 8139038: cleanup and documentation around JSAdapter
Reviewed-by: attila, hannesw
2015-10-07 14:00:45 +02:00
Hannes Wallnöfer
4b93e3631d 8138758: U+180E not recognized as whitespace by Joni
Reviewed-by: attila, sundar
2015-10-06 15:10:24 +02:00
Hannes Wallnöfer
26fc600426 8138882: Performance regression due to anonymous classloading
Reviewed-by: attila, sundar
2015-10-05 18:58:21 +02:00
Hannes Wallnöfer
c1fa6e31e8 8137281: OutOfMemoryError with large numeric keys in JSON.parse
Reviewed-by: attila, mhaupt
2015-10-02 15:50:49 +02:00
Athijegannathan Sundararajan
a7d931c5e1 8138616: invokeFunction fails if function calls a function defined in GLOBAL_SCOPE
Reviewed-by: hannesw, mhaupt
2015-10-01 21:27:30 +05:30
Hannes Wallnöfer
8b9c730750 8138632: Sparse array does not handle growth of underlying dense array
Reviewed-by: attila, sundar
2015-10-01 10:37:25 +02:00
Attila Szegedi
f3ff9a5c9a 8137333: Boundless soft caching of property map histories causes high memory pressure
Reviewed-by: hannesw, sundar
2015-09-30 10:09:44 +02:00
Athijegannathan Sundararajan
be533e6f12 8137258: JSObjectLinker and BrowserJSObjectLinker should not expose internal JS objects
Reviewed-by: attila, hannesw
2015-09-28 18:58:52 +05:30
Attila Szegedi
b6c3667ca0 8134502: introduce abstraction for basic NodeVisitor usage
Reviewed-by: lagergren, sundar
2015-09-28 08:40:39 +02:00
Attila Szegedi
54f2d18d65 8134488: var statement in if(false) block incorrectly evacuated into enclosing function
Reviewed-by: hannesw, sundar
2015-09-25 17:53:06 +02:00
Attila Szegedi
5115da4b82 8136700: Make sure Context.anonymousHostClasses doesn't grow unbounded
Reviewed-by: hannesw, sundar
2015-09-25 15:57:57 +02:00
Attila Szegedi
f231e5ab06 8134490: Dead var statement evacuation incorrectly descends into nested functions
Reviewed-by: hannesw, mhaupt
2015-09-25 12:46:53 +02:00
Athijegannathan Sundararajan
1a8570ad75 8137134: invokespecial on indirect super interface is generated by Java adapter generator
Reviewed-by: attila, hannesw
2015-09-25 16:01:54 +05:30
Hannes Wallnöfer
008b5c0ad9 8135190: Method code too large in Babel browser.js script
Reviewed-by: attila, sundar
2015-09-19 16:04:28 +02:00
Athijegannathan Sundararajan
c2898271c9 8136694: Megemorphic scope access does not throw ReferenceError when property is missing
Reviewed-by: attila, hannesw
2015-09-17 18:23:53 +05:30
Attila Szegedi
f74c628ffe 8136647: Syntactic error accidentally left in JDK-8135251 changeset
Reviewed-by: sundar
2015-09-16 18:44:47 +02:00
Attila Szegedi
7d849fd622 8135251: Use Unsafe.defineAnonymousClass for loading Nashorn script code
Reviewed-by: hannesw, lagergren, sundar
2015-09-16 18:34:10 +02:00
Hannes Wallnöfer
f4e6cd073f 8134609: Allow constructors with same prototoype map to share the allocator map
Reviewed-by: attila, sundar
2015-09-16 14:42:32 +02:00
Athijegannathan Sundararajan
1b10b826d8 8136544: Call site switching to megamorphic causes incorrect property read
Reviewed-by: attila, mhaupt
2015-09-16 16:26:30 +05:30
Athijegannathan Sundararajan
9698127af3 8080501: javaarrayconversion.js test is flawed
Reviewed-by: attila, hannesw
2015-09-15 19:31:24 +05:30