-
Notifications
You must be signed in to change notification settings - Fork 5.4k
ZJIT: Run against all tests #13950
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
base: master
Are you sure you want to change the base?
ZJIT: Run against all tests #13950
Conversation
de1124a
to
a056a5a
Compare
/test
a056a5a
to
5fb6475
Compare
Can you explain the YAML changes please? I'm not sure the current description clears it up for me. There are too many suites and commands for me to keep track of. |
|
3a555cf
to
688dbfc
Compare
zjit/src/codegen.rs
Outdated
@@ -102,6 +102,10 @@ fn gen_iseq_entry_point(iseq: IseqPtr) -> *const u8 { | |||
let cb = ZJITState::get_code_block(); | |||
let code_ptr = gen_iseq_entry_point_body(cb, iseq); | |||
|
|||
// REMOVE ME | |||
// Just to test if the crash is related to write barriers | |||
unsafe { rb_gc_writebarrier_remember(iseq.into()) }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was another one, too, somewhere else in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in that commit the other change is unrelated:
- asm.cmp(val, Opnd::UImm(expected.into()));
+ asm.cmp(val, Opnd::Value(expected));
which has also been shipped in #13935
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I mean there was another call to remember
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked out back to the old commits, and the other 2 rb_gc_writebarrier_remember
we added in pairing later became part of append_gc_offsets
.
The other one in profile.rs
was changed into rb_gc_writebarrier
in #13935
a153430
to
d4792e9
Compare
make zjit-test-all
now runs all test under/test
, which includes several default gems' tests/test/.excludes-zjit/
zjit-test-all
takes quite a while, I think we can runzjit-check
instead ofzjit-test
on CI to get a faster feedback, even thotest_zjit.rb
will be run twice (another time inzjit-test-all
)