java3d
  1. java3d
  2. JAVA3D-559

SimpleUniverse.cleanup() performance problems

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6.0
    • Component/s: j3d-core-utils
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      559

      Description

      I have spotted that calling SimpleUniverse.cleanup() on universe that holds a
      huge scene graph takes very long time (eg: 5 min). I've tried this on java3d
      1.5.1 and java3d 1.4.0. After connecting to my app with debugger several times
      during cleanup phase, I got same stack trace with java3d 1.4.0 every time (see
      at the end).

      Thread [main] (Suspended)
      ArrayList<E>.remove(Object) line: 423
      ColoringAttributesRetained(NodeComponentRetained).removeAMirrorUser(Shape3DRetained)
      line: 93
      AppearanceRetained.removeAMirrorUser(Shape3DRetained) line: 1228
      Shape3DRetained.clearLive(SetLiveState) line: 1292
      GroupRetained.clearLive(SetLiveState) line: 2667
      SwitchRetained(GroupRetained).clearLive(SetLiveState) line: 2667
      SwitchRetained.clearLive(SetLiveState) line: 451
      TransformGroupRetained(GroupRetained).clearLive(SetLiveState) line: 2667
      TransformGroupRetained.clearLive(SetLiveState) line: 731
      GroupRetained.clearLive(SetLiveState) line: 2667
      TransformGroupRetained(GroupRetained).clearLive(SetLiveState) line: 2667
      TransformGroupRetained.clearLive(SetLiveState) line: 731
      TransformGroupRetained(GroupRetained).clearLive(SetLiveState) line: 2667
      TransformGroupRetained.clearLive(SetLiveState) line: 731
      BranchGroupRetained(GroupRetained).clearLive(SetLiveState) line: 2667
      Locale.doRemoveBranchGraph(BranchGroup, J3dMessage[], int) line: 332
      Locale.removeFromUniverse() line: 301
      SimpleUniverse(VirtualUniverse).removeAllLocales() line: 345
      SimpleUniverse.cleanup() line: 421

        Activity

        Hide
        kcr added a comment -

        Set target milestone to post-1.5.2

        Show
        kcr added a comment - Set target milestone to post-1.5.2

          People

          • Assignee:
            java3d-issues
            Reporter:
            vikciukas
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: