Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-27

Mutable static global state in Vertex.java should be refactored

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.1.0
    • Component/s: graph
    • Labels:
      None

      Description

      Vertex.java has a bunch of static methods for getting/setting global graph state (total number of vertices, edges, a reference to the GraphMapper, etc). Refactoring this into a GraphState object, which every Vertex can hold onto a reference to (yes, a tiny bit more memory per Vertex, but in comparison to what's already in there...)

        Attachments

        1. GIRAPH-27.patch
          30 kB
          Jake Mannix
        2. GIRAPH-27.patch
          30 kB
          Jake Mannix

          Activity

            People

            • Assignee:
              jake.mannix Jake Mannix
              Reporter:
              jake.mannix Jake Mannix
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: