Optimize DataBuffer allocator

Description

Add

                   __builtin_prefetch(next);
 to attachDataBuff(). 

Also add likely() to code in allocate (e.g. for tracing) and move the new (ptr) DataBuffer code and dataBuffersActive++ outside of the critical section.  (Can this be done in any other allocators?) 

Use bottom instead of curBlock in expansion code.

Conclusion

None

Activity

Show:

Gavin Halliday July 4, 2023 at 2:22 PM

Initial untested changes in gch/issue29883

 

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Created July 4, 2023 at 2:02 PM
Updated August 11, 2023 at 9:01 AM
Resolved August 11, 2023 at 9:01 AM

Flag notifications