[go: nahoru, domu]

Skip to content

Tags: google/re2j

Tags

re2j-1.7

Toggle re2j-1.7's commit message
Eliminate TSAN error in benign race condition

In the following condition, a race condition occurs:

```
Thread A, B, and C all attempt to do a match on the same pattern.

A: Allocates Machine 1; executes match; put machine 1. State is now:

pooled -> machine 1 -> null

B reads pooled, sees machine 1

C reads pooled, sees machine 1

B successfully CASes pooled to null

B executes match; put machine 1, which involves setting machine1.next to
null (even though it's already null); preempted before CAS
C resumes, and reads machine1.next in order to execute cas(head, head.next)

There is no happens-before relationship between B's redundant null write
and C's read, thus triggering TSAN.
```

There is no consequence to the race, but the error is a nuisance. This
should eliminate the error.

re2j-1.6

Toggle re2j-1.6's commit message
Add benchmark for matching utf8 bytes

Found no meaningful difference between binary vs string.

re2j-1.5

Toggle re2j-1.5's commit message
move RE2/J to version 1.5, allows for Debian packaging

See issue #112, this will allow Debian package maintainers to use a
clean version of re2j rather than a commit hash.

re2j-1.4

Toggle re2j-1.4's commit message
Release version 1.4

re2j-1.3

Toggle re2j-1.3's commit message
Release version 1.3

Updated bintray plugin version to 1.8.1, release wouldn't succeed
without it.

Fixed an issue where we had two release name variables for some reason.

re2j-1.2

Toggle re2j-1.2's commit message
Add bintrayUpload task, update releasing instructions.

re2j-1.1

Toggle re2j-1.1's commit message
[maven-release-plugin] copy for tag re2j-1.1

re2j-1.0

Toggle re2j-1.0's commit message
[maven-release-plugin] copy for tag re2j-1.0