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

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>780</bug_id>
          
          <creation_ts>2013-07-11 05:07:20 +0200</creation_ts>
          <short_desc>NEWT: EDTUtil: Exposed weakness of EDTUtil usage due to usage of WeakReference, i.e. higher retention of Display instances.</short_desc>
          <delta_ts>2013-07-11 05:07:29 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs>453ccee8e3ce90956756d1582852b13f45cd2f38</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2797</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-07-11 05:07:20 +0200</bug_when>
    <thetext>- WeakReference Change 99479bf3197cde8e89c5b499d135417863d521c7
    
    - Refines commits:
      feb352145af1643a57eaae99c0342e6f5e0f2a2e
      dec4b02fe4b93028c85de6a56b6af79601042d6e
      433e3914324b90c910b018bb7d9d80e814c67123
    
    Reviews EDTUtil API and usage:
      - less confusing / more determined EDTUtil API
      - EDTUtil&apos;s thread shall only be reset and started when required (-&gt; lazy)
      - EDTUtil&apos;s instance in Display shall be handled thread safe w/o extra blocking
      - EDTUtil&apos;s implementations (Default, SWT and AWT) shall be aligned / similar as much as possible
    
    Further note: SWT&apos;s EDTUtil (NewtCanvasSWT) shall not use a reused Display instance due to it&apos;s
                  custom SWTEDTUtil. We may need to disable the ref. cache if custom EDTUtil (setEDTUtil)
                  is intended (used).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>