comparison src/share/vm/runtime/compilationPolicy.hpp @ 14524:10c4df6767c4

removed GPU offload interaction with compilation policy
author Doug Simon <doug.simon@oracle.com>
date Thu, 13 Mar 2014 17:48:44 +0100
parents d8041d695d19
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14523:5e55de0379d9 14524:10c4df6767c4
55 // m is allowed to be osr compiled 55 // m is allowed to be osr compiled
56 static bool can_be_osr_compiled(methodHandle m, int comp_level = CompLevel_all); 56 static bool can_be_osr_compiled(methodHandle m, int comp_level = CompLevel_all);
57 static bool is_compilation_enabled(); 57 static bool is_compilation_enabled();
58 static void set_policy(CompilationPolicy* policy) { _policy = policy; } 58 static void set_policy(CompilationPolicy* policy) { _policy = policy; }
59 static CompilationPolicy* policy() { return _policy; } 59 static CompilationPolicy* policy() { return _policy; }
60
61 // m is allowed to be offloaded to a gpu
62 static bool can_be_offloaded_to_gpu(methodHandle m);
63 60
64 // Profiling 61 // Profiling
65 elapsedTimer* accumulated_time() { return &_accumulated_time; } 62 elapsedTimer* accumulated_time() { return &_accumulated_time; }
66 void print_time() PRODUCT_RETURN; 63 void print_time() PRODUCT_RETURN;
67 // Return initial compile level that is used with Xcomp 64 // Return initial compile level that is used with Xcomp