069579fd79
Provide the compiled bytecode to debugger instead of interpreting the expression by default.
This significantly increases evaluation speed in numerous cases, e.g. `(1..10000).map { it.toString() }.count()`.
Leave interpreter mode as a fallback.
Android does not provide decent in-memory class loading support.
Moreover, we need to run dex on the compiled classes, and it required significant time.
So for now compiling evaluator for Android is available only in Android O, and only if there're any local classes or non-inline lambdas (evaluator didn't work for them before so we may consider this change as an improvement).
29 lines
1.6 KiB
XML
29 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<module type="JAVA_MODULE" version="4">
|
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
<exclude-output />
|
|
<content url="file://$MODULE_DIR$">
|
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
|
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
|
|
</content>
|
|
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
|
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
<orderEntry type="library" name="idea-full" level="project" />
|
|
<orderEntry type="library" name="gradle-and-groovy-plugin" level="project" />
|
|
<orderEntry type="library" exported="" name="android-plugin" level="project" />
|
|
<orderEntry type="module" module-name="idea" />
|
|
<orderEntry type="module" module-name="ide-common" />
|
|
<orderEntry type="module" module-name="idea-analysis" />
|
|
<orderEntry type="module" module-name="idea-test-framework" scope="TEST" />
|
|
<orderEntry type="module" module-name="util" />
|
|
<orderEntry type="module" module-name="frontend" />
|
|
<orderEntry type="module" module-name="frontend.java" />
|
|
<orderEntry type="module" module-name="tests-common" scope="TEST" />
|
|
<orderEntry type="module" module-name="idea-core" />
|
|
<orderEntry type="module" module-name="lint-idea" scope="TEST" />
|
|
<orderEntry type="library" name="uast-java" level="project" />
|
|
<orderEntry type="library" name="kotlin-reflect" level="project" />
|
|
<orderEntry type="module" module-name="light-classes" />
|
|
<orderEntry type="library" scope="PROVIDED" name="dx-android" level="project" />
|
|
</component>
|
|
</module> |