comparison src/share/vm/oops/method.hpp @ 13731:9161ed8ce796

Add graal-specific option -XX:+GPUOffload to trigger all GPU offload functionality. Cleanup function to decide GPU offload. Exclude GPU sources from nongraal builds.
author S.Bharadwaj Yadavalli <bharadwaj.yadavalli@oracle.com>
date Wed, 22 Jan 2014 16:06:47 -0500
parents de839ec35cc7
children d8041d695d19
comparison
equal deleted inserted replaced
13730:168976cae9ce 13731:9161ed8ce796
615 // compiled code support 615 // compiled code support
616 // NOTE: code() is inherently racy as deopt can be clearing code 616 // NOTE: code() is inherently racy as deopt can be clearing code
617 // simultaneously. Use with caution. 617 // simultaneously. Use with caution.
618 bool has_compiled_code() const { return code() != NULL; } 618 bool has_compiled_code() const { return code() != NULL; }
619 619
620 #ifdef GRAAL
621 // Return true if the name of the method indicates that this is a
622 // lambda method other than <init>.
623 bool is_lambda() const;
624 #endif
625 // sizing 620 // sizing
626 static int header_size() { return sizeof(Method)/HeapWordSize; } 621 static int header_size() { return sizeof(Method)/HeapWordSize; }
627 static int size(bool is_native); 622 static int size(bool is_native);
628 int size() const { return method_size(); } 623 int size() const { return method_size(); }
629 #if INCLUDE_SERVICES 624 #if INCLUDE_SERVICES