This document discusses the development of machine-learning-based performance heuristics for selecting between CPU and GPU during runtime in Java 8 applications. It highlights the use of supervised machine learning, particularly support vector machines, to create a binary prediction model that can determine the faster processing hardware based on various program features. The study presents results indicating up to 99% accuracy in predicting the optimal hardware choice, alongside considerations for future enhancements in performance heuristics.