@@ -77,7 +77,7 @@ public class AffinityLock {
7777
7878 /**
7979 * Set the CPU layout for this machine. CPUs which are not mentioned will be ignored.
80- * <p>
80+ * <p/ >
8181 * Changing the layout will have no impact on thread which have already been assigned.
8282 * It only affects subsequent assignments.
8383 *
@@ -110,7 +110,7 @@ public static void cpuLayout(@NotNull CpuLayout cpuLayout) {
110110
111111 /**
112112 * Translate a layout id into a logical cpu id.
113- * <p>
113+ * <p/ >
114114 * This translation is perform so that regardless of how
115115 *
116116 * @param id
@@ -153,7 +153,7 @@ public static AffinityLock acquireLock() {
153153
154154 /**
155155 * Assign any free core to this thread.
156- * <p>
156+ * <p/ >
157157 * In reality, only one cpu is assigned, the rest of the threads for that core are reservable so they are not used.
158158 *
159159 * @return A handle for the current AffinityLock.
@@ -164,7 +164,7 @@ public static AffinityLock acquireCore() {
164164
165165 /**
166166 * Assign a cpu which can be bound to the current thread or another thread.
167- * <p>
167+ * <p/ >
168168 * This can be used for defining your thread layout centrally and passing the handle via dependency injection.
169169 *
170170 * @param bind if true, bind the current thread, if false, reserve a cpu which can be bound later.
@@ -176,7 +176,7 @@ public static AffinityLock acquireLock(boolean bind) {
176176
177177 /**
178178 * Assign a core(and all its cpus) which can be bound to the current thread or another thread.
179- * <p>
179+ * <p/ >
180180 * This can be used for defining your thread layout centrally and passing the handle via dependency injection.
181181 *
182182 * @param bind if true, bind the current thread, if false, reserve a cpu which can be bound later.
@@ -336,7 +336,7 @@ private boolean canReserve() {
336336
337337 /**
338338 * Give another affinity lock relative to this one based on a list of strategies.
339- * <p>
339+ * <p/ >
340340 * The strategies are evaluated in order to (like a search path) to find the next appropriate thread.
341341 * If ANY is not the last strategy, a warning is logged and no cpu is assigned (leaving the OS to choose)
342342 *
0 commit comments