Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8209437

Mechanism for decoupling consumers and providers of behaviours

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 12
    • hotspot
    • None
    • gc

      Sometimes we find ourselves passing around context information about how to perform a certain operation (e.g. check if an oop is alive, logging or tracing, etc). Sometimes such behaviours are provided globally by a GC, and sometimes only in scopes known by the GC. Sometimes it is even accessed from mutators.

      It would be great to have a general mechanism for decoupling how behaviours are provided, from the code that uses them.

            eosterlund Erik Ă–sterlund
            eosterlund Erik Ă–sterlund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: