To answer a question literally, you can do it. However, as shown below, this is likely to be pointless, esp, since Thread already has high priority.
for(Thread t: Thread.getAllStackTraces().keySet())
if (t.getName().equals("Finalizer")) {
System.out.println(t);
t.setPriority(Thread.MAX_PRIORITY);
System.out.println(t);
}
prints
Thread[Finalizer,8,system]
Thread[Finalizer,10,system]
If you are not using or near 100% of all your cores, priority does not matter, because even the lowest priority will receive as many CPUs as it wants.
Note. On Linux, it will ignore elevated priorities if you are not root.
, . . , , . ( )
, , , , , finalize(), .
, , Linux. , , , . ( , , )