Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loom Support: Pin Counters #15383

Merged
merged 1 commit into from
Jun 23, 2022
Merged

Commits on Jun 23, 2022

  1. Loom Support: Pin Counters

    Reasons for pinning:
    
    	public enum Pinned {
    		/** In native code */
    		NATIVE,
    		/** Holding monitor(s) */
    		MONITOR,
    		/** In critical section */
    		CRITICAL_SECTION
    	}
    
    Support for eclipse-openj9#15174 and eclipse-openj9#15175:
    - J9VMThread->continuationPinCount will support native methods in class
      Continuation: pin() and unpin(). It will also be associated to
      Pinned.CRITICAL_SECTION.
    - J9VMThread->ownedMonitorCount will be associated to Pinned.MONITOR.
    - J9VMThread->callOutCount will be associated to Pinned.NATIVE.
    
    Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
    babsingh committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    4f10765 View commit details
    Browse the repository at this point in the history