lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] [Created] (LUCENE-3408) Remove unnecessary memory barriers in DWPT
Date Tue, 30 Aug 2011 20:51:10 GMT
Remove unnecessary memory barriers in DWPT

                 Key: LUCENE-3408
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/index
    Affects Versions: 4.0
            Reporter: Simon Willnauer
            Priority: Minor
             Fix For: 4.0

Currently DWPT still uses AtomicLong to count the bytesUsed. Each write access issues an implicite
memory barrier which is totally unnecessary since we doing everything single threaded on that
level. This might be very minor but we shouldn't issue unnecessary memory barriers causing
processors to lock their instruction pipeline for no reason.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message