Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-32682][GR-52145] Add initial version of the Bytecode DSL. #9556

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
cd9c762
Add Bytecode DSL
DSouzaM Aug 19, 2024
5f542f8
Remove occurrences where a default Bind value is explicitly used
DSouzaM Aug 19, 2024
10b219d
Add Bytecode DSL interpreter to SimpleLanguage
DSouzaM Aug 19, 2024
3e2fb2c
Fix: remove unnecessary assertion for uncheckedCast plugin
DSouzaM Aug 22, 2024
4c179a0
Source materialization is no longer automatic and must be explicitly …
chumer Aug 23, 2024
89d35a6
Port DSL benchmarks as tests to reproduce OSR issue.
chumer Aug 23, 2024
5333167
Fix test setup for OSR issue
DSouzaM Aug 23, 2024
4ceb187
Fix deopt loop with OSR.
chumer Aug 26, 2024
51c0133
Improve compilation unit name for OSR compilations.
chumer Aug 26, 2024
2aa6409
Fix oldBc might be null for source to source translation.
chumer Aug 26, 2024
621cd98
Fix invalid old-style read from bytecode array.
chumer Aug 26, 2024
d26cb94
Refactor: beginRoot(TruffleLanguage) to create/deserialize(ConcreteLa…
DSouzaM Aug 27, 2024
95603b9
Refactor: require root node constructor parameter to have concrete la…
DSouzaM Aug 27, 2024
f031b9d
Fix: guard some code that shoud not be pulled in during compilation
DSouzaM Aug 27, 2024
4f5d9e7
Refactor: deduplicate GeneratorUtils#override and #overrideImplement
DSouzaM Aug 28, 2024
3057d01
Code gen: directly generate branch profile code so checked/unchecked …
DSouzaM Aug 28, 2024
075e875
Avoid deopt at OSR loop exit by forcing loop branch false profile >0;…
DSouzaM Aug 29, 2024
8cf92ea
Refactor: require parameters to be renamed when generating overrides
DSouzaM Aug 29, 2024
e83abf2
Fix builtin tutorial by using an entered context.
chumer Sep 5, 2024
5ad51b2
Fix state bitset handling.
chumer Sep 5, 2024
1769436
Encode interpreter state as long; pass sp to OSR using interpreter st…
DSouzaM Sep 5, 2024
4eff8e6
Add generated code for BasicInterpreters for review. (temporary)
chumer Sep 6, 2024
e9acb18
Remove more occurrences where a default Bind value is explicitly used
DSouzaM Sep 6, 2024
c3ee753
Uncached threshold: explicitly support Integer.MIN_VALUE as a way to …
DSouzaM Sep 6, 2024
1d239f8
Resolve lint/compiler warnings
DSouzaM Sep 6, 2024
ee1217a
Fix override generation for execute methods.
chumer Sep 12, 2024
5038b96
Turn off specialization introspection by default.
chumer Sep 12, 2024
12355c9
Fix invalid operand read.
chumer Sep 12, 2024
a87ac55
Fix provided tags and maximum number of instrumentations. Keep some b…
chumer Sep 13, 2024
ad65b11
Make all groupingBy deterministic.
chumer Sep 13, 2024
0491830
Check in updated generated files
DSouzaM Sep 16, 2024
325a386
Fix tests, document Bind.DefaultExpression, improve error handling fo…
DSouzaM Sep 16, 2024
8f4895a
Polish/clarify docs, validate VirtualFrame parameter, fix javadoc
DSouzaM Sep 16, 2024
9563e26
More documentation fixes
DSouzaM Sep 16, 2024
5390ed2
Minor: remove duplicate LessThanOperation from BasicInterpreter; remo…
DSouzaM Sep 16, 2024
44b476c
Disallow Node constants; fix/improve codegen when errors occur
DSouzaM Sep 17, 2024
618d702
FinallyTry -> TryFinally, FinallyTryCatch -> TryFinallyCatch
DSouzaM Sep 17, 2024
47115fd
Add usage examples for exception handlers to user guide
DSouzaM Sep 17, 2024
dcabd6f
Fix bug with raw ConstantOperand types on javac
DSouzaM Sep 19, 2024
9b59fa3
Rename TryFinallyCatch to TryCatchOtherwise
DSouzaM Sep 24, 2024
d333087
Finish updating UserGuide with TryCatchOtherwise changes
DSouzaM Sep 24, 2024
32046c6
Fix: continuation frames erroneously passed to executeOSR through int…
DSouzaM Sep 25, 2024
c23c4bd
Docs: give users more direction about reading order
DSouzaM Sep 25, 2024
95b77db
Minor: be consistent about using snake_case for built-in immediate names
DSouzaM Sep 25, 2024
d1e0b09
Processor: support generated types in rawTypeToWildcardedType helper
DSouzaM Sep 25, 2024
5e3b325
Address feedback
DSouzaM Sep 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
import jdk.graal.compiler.core.test.GraalCompilerTest;
import jdk.graal.compiler.test.SubprocessUtil;
import jdk.graal.compiler.test.SubprocessUtil.Subprocess;
import jdk.graal.compiler.truffle.test.SLTruffleGraalTestSuite;
import jdk.graal.compiler.truffle.test.SLCompileASTTestSuite;

/**
* Tests support for dumping graphs and other info useful for debugging a compiler crash.
Expand Down Expand Up @@ -208,7 +208,7 @@ public void testTruffleCompilation1() throws IOException, InterruptedException {
"-Dpolyglot.engine.CompilationFailureAction=ExitVM",
"-Dpolyglot.engine.TreatPerformanceWarningsAsErrors=all",
"-Djdk.graal.CrashAt=root test1"),
SLTruffleGraalTestSuite.class.getName(), "test");
SLCompileASTTestSuite.class.getName(), "test");
}

/**
Expand All @@ -227,7 +227,7 @@ public void testTruffleCompilation2() throws IOException, InterruptedException {
"-Dpolyglot.engine.CompilationFailureAction=ExitVM",
"-Dpolyglot.engine.TreatPerformanceWarningsAsErrors=all",
"-Djdk.graal.CrashAt=root test1:PermanentBailout"),
SLTruffleGraalTestSuite.class.getName(), "test");
SLCompileASTTestSuite.class.getName(), "test");
}

private static final boolean VERBOSE = Boolean.getBoolean("CompilationWrapperTest.verbose");
Expand Down
Loading
Loading