Join point

From HandWiki
Revision as of 07:33, 24 October 2022 by Corlink (talk | contribs) (correction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In computer science, a join point is a point in the control flow of a program where the control flow can arrive via two different paths. In particular, it's a basic block that has more than one predecessor.[1] In aspect-oriented programming a set of join points is called a pointcut. A join point is a specification of when, in the corresponding main program, the aspect code should be executed.

The join point is a point of execution in the base code where the advice specified in a corresponding pointcut is applied.

See also

References

  1. Daniel), Cooper, Keith D. (Keith (2012). Engineering a compiler. Torczon, Linda. (2nd ed.). Amsterdam: Elsevier/Morgan Kaufmann. pp. 476. ISBN 978-0120884780. OCLC 714113472.