Tag: ca7ce82a280a65c377c24c95c29b1dec6e80b428

perf tests: Do not use sizeof on pointer type

Author: Vaishali Thakkar <vaishali.thakkar@oracle.com> Using sizeof on a malloced pointer type will return the wordsize which can often cause one to allocate a buffer much smaller than it is needed. So, here do not use sizeof on pointer type. Note that this has no effect on runtime because ‘dsos’ is a pointer to a pointer. …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.