Move placeholder implementation details to cpp file and add logging

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: hotspot
    • b07

      The SeenThread queue shouldn't be in the header file as it's only used by the implementation file. Only the check_seen_thread() is used outside PlaceholderTable and should be public. check_seen_thread()is essentially called once per super class loading and once per instance class loading, so doesn't require inlining.
      I also added logging to the placeholder table. The entries in the PlaceholderTable are used as defacto per-class locks for class loading and for checking for ClassCircularityError.
      I might remove the logging once I've written a wiki page describing how it works for bootstrap (class loader == NULL), parallelCapable and non-parallelCapable class loaders.

            Assignee:
            Coleen Phillimore
            Reporter:
            Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: