You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Klaus Ma (JIRA)" <ji...@apache.org> on 2015/09/02 09:32:45 UTC

[jira] [Updated] (MESOS-3046) Stout's UUID re-seeds a new random generator during each call to UUID::random.

     [ https://issues.apache.org/jira/browse/MESOS-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klaus Ma updated MESOS-3046:
----------------------------
    Attachment: tl.cpp

Please refer to the attachment for the example that build failed in Ubuntu 14.04 (GCC 4.8.4) without initialization of static member.

> Stout's UUID re-seeds a new random generator during each call to UUID::random.
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-3046
>                 URL: https://issues.apache.org/jira/browse/MESOS-3046
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>            Reporter: Benjamin Mahler
>            Assignee: Klaus Ma
>              Labels: newbie, twitter
>         Attachments: tl.cpp
>
>
> Per [~StephanErb] and [~kevints]'s observations on MESOS-2940, stout's UUID abstraction is re-seeding the random generator during each call to {{UUID::random()}}, which is really expensive.
> This is confirmed in the perf graph from MESOS-2940.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)