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

Mechanism for decoupling consumers and providers of behaviours

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 12
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: