<?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>972</bug_id>
          
          <creation_ts>2014-02-12 02:09:17 +0100</creation_ts>
          <short_desc>Reduce ClassLoader Lookup, i.e. Class.forName(..)</short_desc>
          <delta_ts>2014-02-13 00:59:39 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2</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>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>gluegen dfde2a47bfdc2d1ad75c8e1165e27c767803cc3f
jogl c5964bf2e3ebd6e05a7d551b033355c21ca9eea9</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3711</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-02-12 02:09:17 +0100</bug_when>
    <thetext>Class.forName(..) may cause a dramatic performance hit in special cases,
i.e. long CLASSPATH or multiple daisy-chained ClassLoader.

Try to cache ClassLoader lookup results or avoid lookup alltogether.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3714</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-02-13 00:59:39 +0100</bug_when>
    <thetext>dfde2a47bfdc2d1ad75c8e1165e27c767803cc3f
  Instrument ReflectionUtil&apos;s forName(..) usage

c5964bf2e3ebd6e05a7d551b033355c21ca9eea9
    GLProfile, GLContextImpl:
      - ReflectionUtil.DEBUG_STATS_FORNAME: Dump forName stats if set
      - Cache GL*Impl and GL*ProcAddressTable Constructor&lt;?&gt; for GLContextImpl&apos;s createInstance(..)
      - Remove off-thread early classloading thread which only adds complications
    
    DisplayImpl:
      - Remove one redundant availability test</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>