| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Almost all implementations simply return this, all of which can be removed
now.
PiperOrigin-RevId: 163046912
|
|
|
|
|
|
| |
wrapper objects: for OwnedArtifacts, which are the most numerous during builds, and for Labels for TransitiveTraversalValues, which are the most numerous during queries.
PiperOrigin-RevId: 154989520
|
|
|
|
|
|
|
|
|
|
|
| |
that makes an appropriate call to Interners.InternerBuilder#concurrencyLevel.
For current readers of this CL, I used this class everywhere in the Blaze codebase.
For future readers of this CL, this class should be used to create an Interner in the Blaze codebase.
--
MOS_MIGRATED_REVID=140063271
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=124747935
|
|
|
|
|
|
|
| |
are created, as opposed to when they are requested from the ParallelEvaluator. That delay can lead to large memory spikes and churn.
--
MOS_MIGRATED_REVID=116224565
|
|
|
|
|
|
|
| |
Reduces garbage.
--
MOS_MIGRATED_REVID=109914243
|
|
|
|
|
|
|
| |
'argument' equality. When the two keys are equal we have to check both fields anyways, so we should only consider the case where they are unequal: 'functionName' equality is almost certainly cheaper, so we'd prefer short circuiting on inequality from that cheap check.
--
MOS_MIGRATED_REVID=106989244
|
|
|
|
|
|
|
|
|
|
|
| |
The headers were modified with
`find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'`
And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan.
The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand.
--
MOS_MIGRATED_REVID=103938715
|
|
|
|
|
|
|
| |
hashCode() implementation. See http://jeremymanson.blogspot.com/2008/12/benign-data-races-in-java.html.
--
MOS_MIGRATED_REVID=101490349
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=100285082
|
|
|
|
|
|
|
|
|
| |
employed by java.lang.String.
Consider the case where thread T1 calls cacheHashCode and then in the future thread T2 calls hashCode. Because the side-effects of 'cacheHashCode' were non-atomic, T2 could see a value of 'true' for 'hashCodeCached' but still see the old value (of 0) for 'hashCode' and incorrectly think the hash code is 0.
--
MOS_MIGRATED_REVID=100283097
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SkyKey argument hashcodes are not stable, because they're composed
of values whose hashcodes may not be stable, such as Java enums.
Therefore a SkyKey's own hashcode isn't stable. And this is fine,
but if we try to serialize and then deserialize the SkyKey with its
cached hashcode, the deserialized SkyKey's cached hashcode won't
match a normally constructed SkyKey, despite them being equal.
Because a SkyKey will deserialize with a default value of 0 for its
cached hashcode, this change also introduces a transient boolean
guard to note whether the correct hashcode has been calculated and
cached.
--
MOS_MIGRATED_REVID=91985674
|
|
--
MOE_MIGRATED_REVID=85702957
|