Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12405

As-you-type validation works slow when many strings are being added

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.0.0.Alpha1
    • 4.0.0.Alpha1
    • common
    • None

      1. Create a cdi bean class.
      2. Add the following lines to any method of the class:

      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      			System.out.println("#{test.bytess} sf sdf " + "" + "" + "");
      

      3. Repeat #2 a ten times.
      4. There are 0.5n(n+1) as-you-type validation thread created, where n is a nubmer of srings of the file.
      So if you copied a hundred strings you will have 5050 threads.

            vrubezhny Victor Rubezhny (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: