Open graalvmbot opened 7 months ago
Copying description from the internal pull request, for usage information:
This PR defines an alternate bytecode interpreter implemented using the Bytecode DSL (PR). The alternate interpreter is disabled by default, and can be switched on using the system property -Dpython.EnableBytecodeDSLInterpreter=true. Some useful commands: run on JVM: create the JVM standalone using mx python-jvm and then launch it with --vm.Dpython.EnableBytecodeDSLInterpreter=true. run on NI: create a DSL-specific standalone using mx python-svm-dsl-interpreter. run JUnit tests: mx punittest --no-leak-tests --use-bytecode-dsl-interpreter run GraalPy tests: create a NI standalone (see above) and then mx graalpytest --python {standalone path} {file} run CPython tests: mx python-run-cpython-unittest --use-bytecode-dsl-interpreter {pattern} verify which interpreter is running: evaluate __graalpython__.is_bytecode_dsl_interpreter.
This PR defines an alternate bytecode interpreter implemented using the Bytecode DSL (PR).
The alternate interpreter is disabled by default, and can be switched on using the system property -Dpython.EnableBytecodeDSLInterpreter=true.
-Dpython.EnableBytecodeDSLInterpreter=true
Some useful commands:
mx python-jvm
--vm.Dpython.EnableBytecodeDSLInterpreter=true
mx python-svm-dsl-interpreter
mx punittest --no-leak-tests --use-bytecode-dsl-interpreter
mx graalpytest --python {standalone path} {file}
mx python-run-cpython-unittest --use-bytecode-dsl-interpreter {pattern}
__graalpython__.is_bytecode_dsl_interpreter
Copying description from the internal pull request, for usage information: