Skip to content

About

A Java Operating System simulator featuring an interactive GUI dashboard. It models CPU scheduling (Round Robin, HRRN, MLFQ), memory management, disk swapping, mutual exclusion, and process execution. Built to visualize real-time OS behaviors like process states, memory protection, and system call handling.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Java-OS-Simulator

A Java Operating System simulator featuring an interactive GUI dashboard. It models CPU scheduling (Round Robin, HRRN, MLFQ), memory management, disk swapping, mutual exclusion, and process execution. Built to visualize real-time OS behaviors like process states, memory protection, and system call handling.

Key Features

  • Process Management: Simulates Process Control Blocks (PCBs) and process states (New, Ready, Running, Blocked, Finished).
  • CPU Scheduling: Implements multiple scheduling algorithms including Round Robin (RR), Highest Response Ratio Next (HRRN), and Multi-Level Feedback Queue (MLFQ).
  • Memory Management: Simulates a RAM environment with memory protection, contiguous allocation, and swapping idle processes to a mock disk (Disk.txt).
  • Concurrency Control: Includes Mutex and MutexManager to handle locks and resource sharing between simulated processes.
  • Interactive Dashboard: A visual GUI (OSDashboard.java) that allows you to step through execution, pause/resume, and view the live state of memory and processes.
  • Custom Interpreter: Reads and executes custom text-based program files (Program_1.txt, etc.).

About

A Java Operating System simulator featuring an interactive GUI dashboard. It models CPU scheduling (Round Robin, HRRN, MLFQ), memory management, disk swapping, mutual exclusion, and process execution. Built to visualize real-time OS behaviors like process states, memory protection, and system call handling.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages