Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 3, 2022 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/4bdd941f0f387de3b29455f51756bcbf to your computer and use it in GitHub Desktop.
Save Whateverable/4bdd941f0f387de3b29455f51756bcbf to your computer and use it in GitHub Desktop.
bisectable6
"/etc/bash.bashrc".IO.watch
Bisecting: 44 revisions left to test after this (roughly 6 steps)
[6fc2e6c66ce89ea68bf120c4a1947a6e1f20d5a4] Try to resolve races in CURFS
»»»»» Testing 6fc2e6c66ce89ea68bf120c4a1947a6e1f20d5a4
»»»»» Script output:
file watch target queue must have ConcBlockingQueue REPR
in block <unit> at /tmp/C1UOYcLq13 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing bfad9bd66ecec944b0837956c425811e6aaf2d1c
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a84e16849d8da4a74104ffdb5e7f875c14a5b086
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 1ffedd662b019170c28f0810510fb8c4ada286d0
»»»»» Script output:
file watch target queue must have ConcBlockingQueue REPR
in block <unit> at /tmp/C1UOYcLq13 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8f70f8dbe839064e3c54ac0124696fe8ba0f2df8
»»»»» Script output:
file watch target queue must have ConcBlockingQueue REPR
in block <unit> at /tmp/C1UOYcLq13 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 64317c4eedf27df7c411413e7029b86c26cbd232
»»»»» Script output:
file watch target queue must have ConcBlockingQueue REPR
in block <unit> at /tmp/C1UOYcLq13 line 1
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 080abcd8075c222d8615f440b114749447cdc2e9
»»»»» Script output:
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
64317c4eedf27df7c411413e7029b86c26cbd232 is the first new commit
commit 64317c4eedf27df7c411413e7029b86c26cbd232
Author: Elizabeth Mattijsen <liz@raku.rocks>
Date: Fri May 6 10:41:32 2022 +0200
Simplify setting up standard handles (#4919)
* Simplify setting up standard handles
We don't have any thread-safety issues with setting up the standard
handles, and we always use utf8-encoding for them. So we can set them
up without thread-safety as they are all part of running the mainline.
This commit:
- adds an implementation-detail method to get the utf8 encoding object
in an thread-unsafe manner
- caches the encoder / decoder objects, so we don't need to look them
up again and again for the 3 standard handles
- thus removes the need for 3 Lock.protect cases
This appears to scrape off a few msecs from each rakudo startup
* A bit more radical approach
- copy the code that is going to be discarded anyway
- no need to augment
- just set up the standard handles
Note: the previous approach basically came from the time when the
standard handles were being vivified lazily.
* Lose unnnecessary IO::ArgFiles stub
* Hopefully fix the weird segfault on the JVM
src/core.c/Encoding/Registry.pm6 | 2 +
src/core.c/io_operators.pm6 | 83 ++++++++++++++++++++++++++--------------
2 files changed, 56 insertions(+), 29 deletions(-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment