diff options
author | kvn <none@none> | 2013-06-21 15:56:24 -0700 |
---|---|---|
committer | kvn <none@none> | 2013-06-21 15:56:24 -0700 |
commit | 120a4c9539a220c6b248c4a4fbaa799a546428a1 (patch) | |
tree | 4ed851784117991648592a58cb9f8d04858bfb03 /src/share/vm/runtime/stubRoutines.hpp | |
parent | 8cc0ba0fc5264c489b4a09d57fedccf0771a7106 (diff) | |
parent | 315fff20718c436dfe459d1acb4701d4c9112bac (diff) | |
download | jdk8u_hotspot-120a4c9539a220c6b248c4a4fbaa799a546428a1.tar.gz |
Merge
Diffstat (limited to 'src/share/vm/runtime/stubRoutines.hpp')
-rw-r--r-- | src/share/vm/runtime/stubRoutines.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/share/vm/runtime/stubRoutines.hpp b/src/share/vm/runtime/stubRoutines.hpp index 2cb39ec24..defccd71e 100644 --- a/src/share/vm/runtime/stubRoutines.hpp +++ b/src/share/vm/runtime/stubRoutines.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -226,6 +226,8 @@ class StubRoutines: AllStatic { static void initialize1(); // must happen before universe::genesis static void initialize2(); // must happen after universe::genesis + static bool is_stub_code(address addr) { return contains(addr); } + static bool contains(address addr) { return (_code1 != NULL && _code1->blob_contains(addr)) || |