[rvm-research] RVMThread --> Why Many Methods are Static
Khaled Z Mahmoud <[email protected]> Wed, 14 Feb 2018 21:58:49 -0500
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CAER=_eX0n7dhLjzO=zFOX9wBHR5NmA2XBHtQqj5GFrOsPV7YXQ@mail.gmail.com> |
Hi, Why many or most methods in the RVMThread class are declared as static. They use getCurrentThread to a reference to the current thread. Why aren't they implemented as instance methods since many of them do work related to the thread instance ???? -- Regards, Khaled Mahmoud ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers