<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>200403</bug_id>
          
          <creation_ts>2019-08-02 14:00:34 -0700</creation_ts>
          <short_desc>uniqueLogIdentifier() should generate a 64-bit identifier</short_desc>
          <delta_ts>2020-01-22 17:43:25 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>206612</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Carlson">eric.carlson</reporter>
          <assigned_to name="Eric Carlson">eric.carlson</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cdumez</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1558101</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2019-08-02 14:00:34 -0700</bug_when>
    <thetext>uniqueLogIdentifier() should generate a 64-bit identifier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1558103</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-08-02 14:00:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/53878447&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1558119</commentid>
    <comment_count>2</comment_count>
      <attachid>375452</attachid>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2019-08-02 14:08:53 -0700</bug_when>
    <thetext>Created attachment 375452
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1558124</commentid>
    <comment_count>3</comment_count>
      <attachid>375452</attachid>
    <who name="youenn fablet">youennf</who>
    <bug_when>2019-08-02 14:18:50 -0700</bug_when>
    <thetext>Comment on attachment 375452
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=375452&amp;action=review

&gt; Source/WTF/ChangeLog:12
&gt; +        uint32_t so use two to generate a 64-bit identifier.

Maybe we should have a way to print parent id as ABCD and child log identifier as ABCD-EFGH so that it is easier to spot the relationship between parent and child.
32 bits is probably enough for parent ids so that any id above 2^32 would be printed as a child identifier.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1558128</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2019-08-02 14:22:00 -0700</bug_when>
    <thetext>(In reply to youenn fablet from comment #3)
&gt; Comment on attachment 375452 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=375452&amp;action=review
&gt; 
&gt; &gt; Source/WTF/ChangeLog:12
&gt; &gt; +        uint32_t so use two to generate a 64-bit identifier.
&gt; 
&gt; Maybe we should have a way to print parent id as ABCD and child log
&gt; identifier as ABCD-EFGH so that it is easier to spot the relationship
&gt; between parent and child.
&gt; 32 bits is probably enough for parent ids so that any id above 2^32 would be
&gt; printed as a child identifier.

Good idea, I&apos;ll think about the best way to do that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1558150</commentid>
    <comment_count>5</comment_count>
      <attachid>375452</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-08-02 14:54:32 -0700</bug_when>
    <thetext>Comment on attachment 375452
Patch

Clearing flags on attachment: 375452

Committed r248183: &lt;https://trac.webkit.org/changeset/248183&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1558151</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2019-08-02 14:54:34 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>375452</attachid>
            <date>2019-08-02 14:08:53 -0700</date>
            <delta_ts>2019-08-02 14:54:32 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-200403-20190802140852.patch</filename>
            <type>text/plain</type>
            <size>2103</size>
            <attacher name="Eric Carlson">eric.carlson</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQ4MTUzCmRpZmYgLS1naXQgYS9Tb3VyY2UvV1RGL0NoYW5n
ZUxvZyBiL1NvdXJjZS9XVEYvQ2hhbmdlTG9nCmluZGV4IDJlY2RlMTYyM2YxOGZiYTRkZDE0NTg0
OTJlMmY3NTJkYWIyODlkY2YuLjNkOTRhYzEyMjkzNzhkZjRhMTA2OTFiMjBmNTgzM2E4YTA0YTlh
NDcgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XVEYvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XVEYvQ2hh
bmdlTG9nCkBAIC0xLDMgKzEsMTYgQEAKKzIwMTktMDgtMDIgIEVyaWMgQ2FybHNvbiAgPGVyaWMu
Y2FybHNvbkBhcHBsZS5jb20+CisKKyAgICAgICAgdW5pcXVlTG9nSWRlbnRpZmllcigpIHNob3Vs
ZCBnZW5lcmF0ZSBhIDY0LWJpdCBpZGVudGlmaWVyCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD0y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bnRlcnByZXRfY2FzdDxjb25zdCB2
b2lkKj4oKGhpZ2hXb3JkIDw8IDMyKSArIGxvd1dvcmQpOwogICAgIH0KICNlbHNlCiAK
</data>

          </attachment>
      

    </bug>

</bugzilla>